@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | */ |
| 163 | 163 | public function getVariable(string $key) |
| 164 | 164 | { |
| 165 | - if(isset($this->variable[$key])) { |
|
| 165 | + if (isset($this->variable[$key])) { |
|
| 166 | 166 | return $this->variable[$key]; |
| 167 | 167 | } |
| 168 | 168 | |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | */ |
| 178 | 178 | public function hasVariable(string $key) :bool |
| 179 | 179 | { |
| 180 | - if(isset($this->variable[$key])) { |
|
| 180 | + if (isset($this->variable[$key])) { |
|
| 181 | 181 | return true; |
| 182 | 182 | } |
| 183 | 183 | |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | */ |
| 193 | 193 | public function setVariables(array $variables = []) |
| 194 | 194 | { |
| 195 | - foreach($variables AS $key=>$value) { |
|
| 195 | + foreach ($variables AS $key=>$value) { |
|
| 196 | 196 | $this->setVariable($key, $value); |
| 197 | 197 | } |
| 198 | 198 | |
@@ -339,8 +339,8 @@ discard block |
||
| 339 | 339 | */ |
| 340 | 340 | public function __destruct() |
| 341 | 341 | { |
| 342 | - unset( $this->variable ); |
|
| 343 | - unset( $this->template ); |
|
| 342 | + unset($this->variable); |
|
| 343 | + unset($this->template); |
|
| 344 | 344 | } |
| 345 | 345 | |
| 346 | 346 | } |
| 347 | 347 | \ No newline at end of file |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | $this->validatorChain = $validatorChain; |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | - public function getValidatorChain():? ValidatorChain |
|
| 105 | + public function getValidatorChain(): ? ValidatorChain |
|
| 106 | 106 | { |
| 107 | 107 | return $this->validatorChain; |
| 108 | 108 | } |