@@ -153,7 +153,7 @@ |
||
| 153 | 153 | |
| 154 | 154 | $getter = 'get'.ucfirst($key); |
| 155 | 155 | if (is_callable([ $this, $getter])) { |
| 156 | - $value = $this->{$getter}(); |
|
| 156 | + $value = $this->{$getter}(); |
|
| 157 | 157 | } else if (is_callable([ $this, $key ])) { |
| 158 | 158 | $value = $this->{$key}(); |
| 159 | 159 | } else { |
@@ -152,9 +152,9 @@ discard block |
||
| 152 | 152 | } |
| 153 | 153 | |
| 154 | 154 | $getter = 'get'.ucfirst($key); |
| 155 | - if (is_callable([ $this, $getter])) { |
|
| 155 | + if (is_callable([$this, $getter])) { |
|
| 156 | 156 | $value = $this->{$getter}(); |
| 157 | - } else if (is_callable([ $this, $key ])) { |
|
| 157 | + } else if (is_callable([$this, $key])) { |
|
| 158 | 158 | $value = $this->{$key}(); |
| 159 | 159 | } else { |
| 160 | 160 | if (!isset($this->{$key})) { |
@@ -202,9 +202,9 @@ discard block |
||
| 202 | 202 | } |
| 203 | 203 | |
| 204 | 204 | $getter = 'get'.ucfirst($key); |
| 205 | - if (is_callable([ $this, $getter])) { |
|
| 205 | + if (is_callable([$this, $getter])) { |
|
| 206 | 206 | return $this->{$getter}(); |
| 207 | - } else if (is_callable([ $this, $key ])) { |
|
| 207 | + } else if (is_callable([$this, $key])) { |
|
| 208 | 208 | return $this->{$key}(); |
| 209 | 209 | } else { |
| 210 | 210 | if (isset($this->{$key})) { |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | } |
| 251 | 251 | |
| 252 | 252 | $setter = 'set'.ucfirst($key); |
| 253 | - if (is_callable([ $this, $setter ])) { |
|
| 253 | + if (is_callable([$this, $setter])) { |
|
| 254 | 254 | $this->{$setter}($value); |
| 255 | 255 | } else { |
| 256 | 256 | $this->{$key} = $value; |