@@ -154,8 +154,7 @@ |
||
| 154 | 154 | $getter = 'get'.ucfirst($key); |
| 155 | 155 | if (is_callable([ $this, $getter])) { |
| 156 | 156 | $value = $this->{$getter}(); |
| 157 | - } |
|
| 158 | - else if (is_callable([ $this, $key ])) { |
|
| 157 | + } else if (is_callable([ $this, $key ])) { |
|
| 159 | 158 | $value = $this->{$key}(); |
| 160 | 159 | } else { |
| 161 | 160 | if (!isset($this->{$key})) { |