Update code, work to pass filters. [skip ci]

This commit is contained in:
James Cole
2014-07-21 16:41:00 +02:00
parent 92cf059102
commit 61438bf5f1
6 changed files with 41 additions and 17 deletions

View File

@@ -14,7 +14,7 @@ class Toolkit implements ToolkitInterface
*
* $start is always the past, $end is 'now' or at least later.
*/
public static function getDateRange()
public function getDateRange()
{
$preferences = \App::make('Firefly\Helper\Preferences\PreferencesHelperInterface');
$viewRange = $preferences->get('viewRange', '1M');

View File

@@ -5,6 +5,6 @@ namespace Firefly\Helper\Toolkit;
interface ToolkitInterface
{
public static function getDateRange();
public function getDateRange();
}