@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | $default = $this->valueConverter->prettyPrintExpr($object->default); |
72 | 72 | } |
73 | 73 | |
74 | - $argumentDescriptor = new ArgumentDescriptor((string) $object->var->name, $default, $object->byRef, $object->variadic); |
|
74 | + $argumentDescriptor = new ArgumentDescriptor((string)$object->var->name, $default, $object->byRef, $object->variadic); |
|
75 | 75 | |
76 | 76 | if (!empty($object->type)) { |
77 | 77 | $argumentDescriptor->addType($this->createType($object)); |
@@ -84,9 +84,9 @@ discard block |
||
84 | 84 | { |
85 | 85 | $typeResolver = new TypeResolver(); |
86 | 86 | if ($arg->type instanceof NullableType) { |
87 | - $typeString = '?' . $arg->type->type; |
|
87 | + $typeString = '?'.$arg->type->type; |
|
88 | 88 | } else { |
89 | - $typeString = (string) $arg->type; |
|
89 | + $typeString = (string)$arg->type; |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | return $typeResolver->resolve($typeString, $context); |