@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | */ |
| 167 | 167 | public function getVariable(string $key) |
| 168 | 168 | { |
| 169 | - if(isset($this->variable[$key])) { |
|
| 169 | + if (isset($this->variable[$key])) { |
|
| 170 | 170 | return $this->variable[$key]; |
| 171 | 171 | } |
| 172 | 172 | |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | */ |
| 182 | 182 | public function hasVariable(string $key) :bool |
| 183 | 183 | { |
| 184 | - if(isset($this->variable[$key])) { |
|
| 184 | + if (isset($this->variable[$key])) { |
|
| 185 | 185 | return true; |
| 186 | 186 | } |
| 187 | 187 | |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | */ |
| 197 | 197 | public function setVariables(array $variables = []) |
| 198 | 198 | { |
| 199 | - foreach($variables AS $key=>$value) { |
|
| 199 | + foreach ($variables AS $key=>$value) { |
|
| 200 | 200 | $this->setVariable($key, $value); |
| 201 | 201 | } |
| 202 | 202 | |
@@ -290,7 +290,7 @@ discard block |
||
| 290 | 290 | */ |
| 291 | 291 | public function __call($name, $arguments) |
| 292 | 292 | { |
| 293 | - $coreViewHelper = __NAMESPACE__ . '\Helper\\' . ucfirst($name); |
|
| 293 | + $coreViewHelper = __NAMESPACE__ . '\Helper\\' . ucfirst($name); |
|
| 294 | 294 | |
| 295 | 295 | // if (!empty($this->viewHelpers[$coreViewHelper])) { |
| 296 | 296 | // return $this->_callUserFuncArray($this->viewHelpers[$coreViewHelper], $arguments); |
@@ -351,8 +351,8 @@ discard block |
||
| 351 | 351 | */ |
| 352 | 352 | public function __destruct() |
| 353 | 353 | { |
| 354 | - unset( $this->variable ); |
|
| 355 | - unset( $this->template ); |
|
| 354 | + unset($this->variable); |
|
| 355 | + unset($this->template); |
|
| 356 | 356 | } |
| 357 | 357 | |
| 358 | 358 | } |
| 359 | 359 | \ No newline at end of file |