File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ protected function getAttributeFromArray($key)
187
187
/**
188
188
* @inheritdoc
189
189
*/
190
- public function setAttribute ($ key , $ value ): static
190
+ public function setAttribute ($ key , $ value )
191
191
{
192
192
// Convert _id to ObjectID.
193
193
if ($ key == '_id ' && is_string ($ value )) {
@@ -518,7 +518,7 @@ public function __call($method, $parameters)
518
518
/**
519
519
* @inheritdoc
520
520
*/
521
- protected function addCastAttributesToArray (array $ attributes , array $ mutatedAttributes ): array
521
+ protected function addCastAttributesToArray (array $ attributes , array $ mutatedAttributes )
522
522
{
523
523
foreach ($ this ->getCasts () as $ key => $ castType ) {
524
524
if (! Arr::has ($ attributes , $ key ) || Arr::has ($ mutatedAttributes , $ key )) {
You can’t perform that action at this time.
0 commit comments