Completed
Push — develop ( 87e380...b48864 )
by Jaap
10s
created
src/phpDocumentor/Reflection/Php/Factory/Argument.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,16 +76,16 @@
 block discarded – undo
76 76
             $type = $this->createType($object);
77 77
         }
78 78
 
79
-        return new ArgumentDescriptor((string) $object->var->name, $type, $default, $object->byRef, $object->variadic);
79
+        return new ArgumentDescriptor((string)$object->var->name, $type, $default, $object->byRef, $object->variadic);
80 80
     }
81 81
 
82 82
     private function createType(Param $arg, ?Context $context = null): Type
83 83
     {
84 84
         $typeResolver = new TypeResolver();
85 85
         if ($arg->type instanceof NullableType) {
86
-            $typeString = '?' . $arg->type->type;
86
+            $typeString = '?'.$arg->type->type;
87 87
         } else {
88
-            $typeString = (string) $arg->type;
88
+            $typeString = (string)$arg->type;
89 89
         }
90 90
 
91 91
         return $typeResolver->resolve($typeString, $context);
Please login to merge, or discard this patch.