@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | public function __get($propertyName) { |
25 | 25 | $this->propertyName = $propertyName; |
26 | 26 | |
27 | - if(!property_exists($this, $propertyName)) { |
|
27 | + if (!property_exists($this, $propertyName)) { |
|
28 | 28 | throw new UndefinedPropertyException($this->getError("get")); |
29 | 29 | } |
30 | 30 | } |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | public function __set($propertyName, $value) { |
43 | 43 | $this->propertyName = $propertyName; |
44 | 44 | |
45 | - if(!property_exists($this, $propertyName)) { |
|
45 | + if (!property_exists($this, $propertyName)) { |
|
46 | 46 | throw new UndefinedPropertyException($this->getError("set")); |
47 | 47 | } |
48 | 48 | } |