diff --git a/Base/Model.php b/Base/Model.php index 826d0a6..d4a7096 100644 --- a/Base/Model.php +++ b/Base/Model.php @@ -699,7 +699,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \ $method = $prefix . 'Attribute'; if (method_exists($this, $method)) { - $this->_attributes[$name] = $this->{$method} ($value); + $this->_attributes[$name] = $this->{$method}($value); } else { $this->_attributes[$name] = $value; }