Skip to content

Commit

Permalink
Merge pull request #7544 from kenjis/fix-Entity-return-4.4
Browse files Browse the repository at this point in the history
refactor: [Entity] fix incorrect return value
  • Loading branch information
samsonasik authored Jun 7, 2023
2 parents 11b585b + 9d32e46 commit 4e15b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Entity/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ public function __set(string $key, $value = null)
if (method_exists($this, '_' . $method)) {
$this->{'_' . $method}($value);

return $this;
return;
}

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

0 comments on commit 4e15b81

Please sign in to comment.