Skip to content

Commit

Permalink
Use direct call to whereNot, refs thephpleague#34
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Nov 26, 2015
1 parent 1546c98 commit dd4d5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/League/Monga/Query/Where.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public function orWhereNot($field, $value)
*/
public function andWhereNot($field, $value)
{
return call_user_func_array([$this, 'whereNot'], func_get_args());
return $this->whereNot($field, $value);
}

/**
Expand Down

0 comments on commit dd4d5b4

Please sign in to comment.