Passed
Push — master ( fdfcd6...00fdb7 )
by Flo
02:01
created
src/View/ViewController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Form/Type/AbstractType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.