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 @@ -429,7 +429,7 @@ public function cast(?bool $cast = null)
429
429
*
430
430
* @param array|bool|float|int|object|string|null $value
431
431
*
432
- * @return $this
432
+ * @return void
433
433
*
434
434
* @throws Exception
435
435
*/
@@ -452,16 +452,14 @@ public function __set(string $key, $value = null)
452
452
if (method_exists ($ this , $ method )) {
453
453
$ this ->{$ method }($ value );
454
454
455
- return $ this ;
455
+ return ;
456
456
}
457
457
458
458
// Otherwise, just the value. This allows for creation of new
459
459
// class properties that are undefined, though they cannot be
460
460
// saved. Useful for grabbing values through joins, assigning
461
461
// relationships, etc.
462
462
$ this ->attributes [$ dbColumn ] = $ value ;
463
-
464
- return $ this ;
465
463
}
466
464
467
465
/**
You can’t perform that action at this time.
0 commit comments