Skip to content

Commit

Permalink
Removed request 'intersect' method usage to support Laravel 5.5. fixes
Browse files Browse the repository at this point in the history
…gothinkster#10 (Filters are not working in Laravel 5.5).
  • Loading branch information
Sandeesh committed Sep 13, 2017
1 parent c199aa3 commit 86128fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/RealWorld/Filters/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected function getFilterMethods()
*/
protected function getFilters()
{
return $this->request->intersect($this->getFilterMethods());
return array_filter($this->request->only($this->getFilterMethods()));
}

/**
Expand Down

0 comments on commit 86128fc

Please sign in to comment.