We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b814df commit c5ac94eCopy full SHA for c5ac94e
src/Eloquent/Model.php
@@ -518,7 +518,7 @@ public function __call($method, $parameters)
518
/**
519
* @inheritdoc
520
*/
521
- protected function addCastAttributesToArray(array $attributes, array $mutatedAttributes): array
+ protected function addCastAttributesToArray(array $attributes, array $mutatedAttributes)
522
{
523
foreach ($this->getCasts() as $key => $castType) {
524
if (! Arr::has($attributes, $key) || Arr::has($mutatedAttributes, $key)) {
0 commit comments