Skip to content

Commit f8eabc5

Browse files
committed
Fix creation
1 parent 231ef69 commit f8eabc5

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
@@ -511,7 +511,7 @@ public static function findOrFail($identifier)
511511
public static function all()
512512
{
513513
return (new self)->newCollection(collect(static::$client::all(func_get_args()))->map(function ($result) {
514-
return (new static)->forceFill($attributes);
514+
return (new static)->forceFill($result);
515515
})->toArray());
516516
}
517517

0 commit comments

Comments
 (0)