Completed
Pull Request — master (#122)
by
unknown
21:01
created
src/ReflectionProperty.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,9 @@
 block discarded – undo
148 148
                             }
149 149
                         }
150 150
 
151
-                        if ($quoteString === null) $quoteString = true;
151
+                        if ($quoteString === null) {
152
+                            $quoteString = true;
153
+                        }
152 154
                         break;
153 155
 
154 156
                     case 'boolean':
Please login to merge, or discard this patch.
src/ReflectionParameter.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -310,9 +310,7 @@
 block discarded – undo
310 310
         $parameterType = $this->parameterNode->type;
311 311
         if ($parameterType instanceof NullableType) {
312 312
             $parameterType = $parameterType->type;
313
-        }
314
-
315
-        elseif ($parameterType instanceof UnionType) {
313
+        } elseif ($parameterType instanceof UnionType) {
316 314
             $types = [];
317 315
             foreach ($parameterType->types as $type) {
318 316
                 $types[] = $this->resolveReflectionNamedType($type);
Please login to merge, or discard this patch.
src/ReflectionEngine.php 1 patch
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -233,9 +233,7 @@
 block discarded – undo
233 233
                         return [$classLevelNode, $classProperty, null];
234 234
                     }
235 235
                 }
236
-            }
237
-
238
-            else if ($classLevelNode instanceof ClassMethod
236
+            } else if ($classLevelNode instanceof ClassMethod
239 237
                 && $classLevelNode->name->toString() === '__construct'
240 238
             ) {
241 239
                 foreach ($classLevelNode->getParams() as $param) {
Please login to merge, or discard this patch.