Completed
Pull Request — master (#125)
by Abdul Malik
21:30
created
src/ReflectionType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,13 +88,13 @@
 block discarded – undo
88 88
         if ($type instanceof ReflectionNamedType) {
89 89
             $displayType = $type->getName();
90 90
         } else {
91
-            $displayType = (string)$type;
91
+            $displayType = (string) $type;
92 92
         }
93 93
 
94 94
         $displayType = ltrim($displayType, '\\');
95 95
 
96
-        if ($type->allowsNull() && ! $type instanceof ReflectionUnionType) {
97
-            $displayType = '?' . $displayType;
96
+        if ($type->allowsNull() && !$type instanceof ReflectionUnionType) {
97
+            $displayType = '?'.$displayType;
98 98
         }
99 99
 
100 100
         return $displayType;
Please login to merge, or discard this patch.