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 4901b57 commit 7669dc2Copy full SHA for 7669dc2
src/Eloquent/Model.php
@@ -187,7 +187,7 @@ protected function getAttributeFromArray($key)
187
/**
188
* @inheritdoc
189
*/
190
- public function setAttribute($key, $value): static
+ public function setAttribute($key, $value)
191
{
192
// Convert _id to ObjectID.
193
if ($key == '_id' && is_string($value)) {
@@ -518,7 +518,7 @@ public function __call($method, $parameters)
518
519
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