@@ -38,11 +38,11 @@ discard block |
||
38 | 38 | return new \ReflectionMethod($callback, '__invoke'); |
39 | 39 | } |
40 | 40 | |
41 | - $callback = (string)$callback; |
|
41 | + $callback = (string) $callback; |
|
42 | 42 | |
43 | 43 | return \strpos($callback, '::') !== false |
44 | 44 | ? new \ReflectionMethod($callback) |
45 | - : new \ReflectionFunction((string)$callback); |
|
45 | + : new \ReflectionFunction((string) $callback); |
|
46 | 46 | } |
47 | 47 | |
48 | 48 | /** |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | $returnType = $candidate->getReturnType(); |
97 | 97 | |
98 | 98 | if ($returnType !== null) { |
99 | - $typeName = (string)$returnType; |
|
99 | + $typeName = (string) $returnType; |
|
100 | 100 | $nullable = $returnType->allowsNull(); |
101 | 101 | } else { |
102 | 102 | $typeName = null; |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | |
115 | 115 | if ($parameter->hasType()) { |
116 | 116 | $type = $parameter->getType(); |
117 | - $typeName = (string)$type; |
|
117 | + $typeName = (string) $type; |
|
118 | 118 | $nullable = $type->allowsNull(); |
119 | 119 | } else { |
120 | 120 | $typeName = null; |