Skip to content

Commit

Permalink
Fix normalized model for laravel 10
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed Oct 4, 2024
1 parent 24552dc commit 7d2dd7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Normalizers/Normalized/NormalizedModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ protected function hasModelAttribute(string $name): bool
return array_key_exists($name, $this->attributesProperty->getValue($this->model)) ||
array_key_exists($name, $this->castsProperty->getValue($this->model)) ||
$this->model->hasGetMutator($name) ||
$this->model->hasAttributeMutator($name) ||
$this->model->isClassCastable($name);
$this->model->hasAttributeMutator($name);
}
}

0 comments on commit 7d2dd7a

Please sign in to comment.