Skip to content

Commit

Permalink
Revert "Fix HasAttributes::mutateAttributeForArray not accounting for…
Browse files Browse the repository at this point in the history
… hasAttributeGetMutator (#42130)" (#42141)

This reverts commit 40dc9b9.
  • Loading branch information
taylorotwell authored Apr 26, 2022
1 parent d1d5376 commit 6076a21
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -667,8 +667,6 @@ protected function mutateAttributeForArray($key, $value)
$value = $value instanceof DateTimeInterface
? $this->serializeDate($value)
: $value;
} elseif ($this->hasAttributeGetMutator($key)) {
$value = $this->mutateAttributeMarkedAttribute($key, $value);
} else {
$value = $this->mutateAttribute($key, $value);
}
Expand Down

0 comments on commit 6076a21

Please sign in to comment.