@@ -88,13 +88,13 @@ |
||
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; |