diff --git a/src/Resources/AnyResource.php b/src/Resources/AnyResource.php index 32fc79da..e8bae679 100644 --- a/src/Resources/AnyResource.php +++ b/src/Resources/AnyResource.php @@ -14,7 +14,10 @@ public function __get(string $name): mixed return Arr::get($this->attributes, $name); } - public function fill(array|stdClass $attributes): void + /** + * @param array|stdClass $attributes + */ + public function fill($attributes): void { $this->attributes = $attributes instanceof stdClass ? (array) $attributes : $attributes; }