Skip to content

Commit

Permalink
dynamicWhere needs an array
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Jun 23, 2019
1 parent 9802d8b commit 8cca7b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Features/Methods/ModelExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ public function testStaticWhere(): Thread

public function testDynamicWhere(): Thread
{
return (new Thread)->whereFoo('bar');
return (new Thread)->whereFoo(['bar']);
}

public function testStaticDynamicWhere(): Thread
{
return Thread::whereFoo('bar');
return Thread::whereFoo(['bar']);
}
}

Expand Down

0 comments on commit 8cca7b8

Please sign in to comment.