Completed
Push — master ( de5d75...19479b )
by Chris
02:33
created
src/CallbackType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,11 +38,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.