Skip to content

Commit

Permalink
minor bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Schobel committed Jan 11, 2017
1 parent 9ebdd9a commit cba4b18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace JohannesSchobel\DingoQueryMapper\Operators;
use Illuminate\Database\Eloquent\Collection;

use Illuminate\Http\Request;
use Illuminate\Pagination\LengthAwarePaginator;
use JohannesSchobel\DingoQueryMapper\Exceptions\UnknownColumnException;
use Illuminate\Support\Collection;

class CollectionOperator implements Operations
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace JohannesSchobel\DingoQueryMapper\Parser;

use Illuminate\Database\Eloquent\Collection;
use Illuminate\Http\Request;
use Illuminate\Support\Collection;
use JohannesSchobel\DingoQueryMapper\Operators\CollectionOperator;

class DingoQueryMapper
Expand Down Expand Up @@ -73,7 +73,7 @@ private function prepare() {
*
* @return mixed
*/
public function filter() {
private function filter() {
if ($this->allowsFilter()) {
if ($this->hasFilters()) {
$tmp = [];
Expand Down

0 comments on commit cba4b18

Please sign in to comment.