Skip to content

Commit 4e15b81

Browse files
authored
Merge pull request #7544 from kenjis/fix-Entity-return-4.4
refactor: [Entity] fix incorrect return value
2 parents 11b585b + 9d32e46 commit 4e15b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Entity/Entity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ public function __set(string $key, $value = null)
465465
if (method_exists($this, '_' . $method)) {
466466
$this->{'_' . $method}($value);
467467

468-
return $this;
468+
return;
469469
}
470470

471471
// If a "`set` + $key" method exists, it is also a setter.

0 commit comments

Comments
 (0)