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)
187187 /**
188188 * @inheritdoc
189189 */
190- public function setAttribute ($ key , $ value ): static
190+ public function setAttribute ($ key , $ value )
191191 {
192192 // Convert _id to ObjectID.
193193 if ($ key == '_id ' && is_string ($ value )) {
@@ -518,7 +518,7 @@ public function __call($method, $parameters)
518518 /**
519519 * @inheritdoc
520520 */
521- protected function addCastAttributesToArray (array $ attributes , array $ mutatedAttributes ): array
521+ protected function addCastAttributesToArray (array $ attributes , array $ mutatedAttributes )
522522 {
523523 foreach ($ this ->getCasts () as $ key => $ castType ) {
524524 if (! Arr::has ($ attributes , $ key ) || Arr::has ($ mutatedAttributes , $ key )) {
You can’t perform that action at this time.
0 commit comments