This commit is contained in:
2021-11-10 11:45:36 +08:00
parent d3bb5e851f
commit 98e8abfb7c
+2 -1
View File
@@ -488,7 +488,8 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T
*/
public function setAttribute($name, $value): mixed
{
return $this->_attributes[$name] = $value;
$this->_setter($name, $value);
return $this->_attributes[$name];
}
/**