Skip to content

Commit 231ef69

Browse files
committed
Pass arguments to client
1 parent 70a90e6 commit 231ef69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Whisperer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ public static function findOrFail($identifier)
510510

511511
public static function all()
512512
{
513-
return (new self)->newCollection(collect(static::$client::all())->map(function ($result) {
513+
return (new self)->newCollection(collect(static::$client::all(func_get_args()))->map(function ($result) {
514514
return (new static)->forceFill($attributes);
515515
})->toArray());
516516
}

0 commit comments

Comments
 (0)