Skip to content

Commit c5ac94e

Browse files
authored
fix: remove return type for addCastAttributesToArray
1 parent 7b814df commit c5ac94e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Eloquent/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ public function __call($method, $parameters)
518518
/**
519519
* @inheritdoc
520520
*/
521-
protected function addCastAttributesToArray(array $attributes, array $mutatedAttributes): array
521+
protected function addCastAttributesToArray(array $attributes, array $mutatedAttributes)
522522
{
523523
foreach ($this->getCasts() as $key => $castType) {
524524
if (! Arr::has($attributes, $key) || Arr::has($mutatedAttributes, $key)) {

0 commit comments

Comments
 (0)