Skip to content

Commit b3f4ca2

Browse files
committed
fix: __call override not compatible with Illuminate\Support\Collection::__call
1 parent 2f87226 commit b3f4ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/Resource/HasAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public function syncOriginalWith(array $attributes = [])
174174
* @param array $parameters
175175
* @return mixed
176176
*/
177-
public function __call(string $method, array $parameters)
177+
public function __call($method, $parameters)
178178
{
179179
if (static::hasMacro($method)) {
180180
return $this->macroCall($method, $parameters);

0 commit comments

Comments
 (0)