Skip to content

Commit

Permalink
remove optional param before required param
Browse files Browse the repository at this point in the history
  • Loading branch information
nahid authored Feb 23, 2021
1 parent 8b38cea commit 4cee981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JsonQueriable.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ public function whereNull($key = null)
* @param string $key
* @return $this
*/
public function whereBool($key = null, $value)
public function whereBool($key, $value)
{
if (is_bool($value)) {
$this->where($key, '==', $value);
Expand Down

0 comments on commit 4cee981

Please sign in to comment.