8000
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 8c989df commit 80913c9Copy full SHA for 80913c9
src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php
@@ -572,7 +572,7 @@ protected function mergeAttributesFromClassCasts()
572
: $object->__toString();
573
574
if ($attributeCount !== count($castedAttributes)) {
575
- throw new LogicException("Class cast {$attribute} must return {$attributeCount} attributes");
+ throw new LogicException("Class cast {$attribute} must return {$attributeCount} attribute(s)");
576
}
577
578
$this->attributes = array_merge(
0 commit comments