@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | if (array_key_exists($name, $this->properties)) { |
| 32 | 32 | return $this->properties[$name]; |
| 33 | 33 | } |
| 34 | - throw new Exceptions\Runtime('Property does not exists. ' . $name); |
|
| 34 | + throw new Exceptions\Runtime('Property does not exists. '.$name); |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | */ |
| 47 | 47 | public function bindProperty(string $name, string $type, $value): void |
| 48 | 48 | { |
| 49 | - $method = 'set' . ucfirst($name); |
|
| 49 | + $method = 'set'.ucfirst($name); |
|
| 50 | 50 | if (method_exists($this, $method)) { |
| 51 | 51 | $value = $this->{$method}($value); |
| 52 | 52 | } elseif ($value !== null) { |