File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -441,7 +441,7 @@ public function cast(?bool $cast = null)
441441 *
442442 * @param array|bool|float|int|object|string|null $value
443443 *
444- * @return $this
444+ * @return void
445445 *
446446 * @throws Exception
447447 */
@@ -472,16 +472,14 @@ public function __set(string $key, $value = null)
472472 if (method_exists ($ this , $ method ) && $ method !== 'setAttributes ' ) {
473473 $ this ->{$ method }($ value );
474474
475- return $ this ;
475+ return ;
476476 }
477477
478478 // Otherwise, just the value. This allows for creation of new
479479 // class properties that are undefined, though they cannot be
480480 // saved. Useful for grabbing values through joins, assigning
481481 // relationships, etc.
482482 $ this ->attributes [$ dbColumn ] = $ value ;
483-
484- return $ this ;
485483 }
486484
487485 /**
You can’t perform that action at this time.
0 commit comments