Skip to content

Commit

Permalink
Merge pull request #4 from SimonWang2014/master
Browse files Browse the repository at this point in the history
Laravel 5.2 使用时报错
  • Loading branch information
toplan authored Nov 28, 2016
2 parents 8580f99 + 32bb43c commit 39cbe9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/FilterManager/FilterManagerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Toplan\FilterManager;

use Illuminate\Support\Facades\Input;
use Illuminate\Support\ServiceProvider;

class FilterManagerServiceProvider extends ServiceProvider
Expand All @@ -21,7 +22,7 @@ class FilterManagerServiceProvider extends ServiceProvider
public function register()
{
$this->app['FilterManager'] = $this->app->share(function () {
return FilterManager::create(\Input::all())->setBlackList(['page']);
return FilterManager::create(Input::all())->setBlackList(['page']);
});
}

Expand Down

0 comments on commit 39cbe9b

Please sign in to comment.