@@ -102,7 +102,7 @@ |
||
102 | 102 | || interface_exists($fullClassName, false) |
103 | 103 | || trait_exists($fullClassName, false) |
104 | 104 | ) { |
105 | - return false; |
|
105 | + return false; |
|
106 | 106 | } |
107 | 107 | return true; |
108 | 108 | } |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | if ($hasDefaultValue) { |
129 | 129 | $defaultValue = $this->getDefaultValue(); |
130 | 130 | if (is_string($defaultValue) && strlen($defaultValue) > 15) { |
131 | - $defaultValue = substr($defaultValue, 0, 15) . '...'; |
|
131 | + $defaultValue = substr($defaultValue, 0, 15).'...'; |
|
132 | 132 | } |
133 | 133 | /* @see https://3v4l.org/DJOEb for behaviour changes */ |
134 | 134 | if (is_double($defaultValue) && fmod($defaultValue, 1.0) === 0.0) { |
@@ -142,11 +142,11 @@ discard block |
||
142 | 142 | 'Parameter #%d [ %s %s%s%s$%s%s ]', |
143 | 143 | $this->parameterIndex, |
144 | 144 | $isOptional ? '<optional>' : '<required>', |
145 | - $parameterType ? ReflectionType::convertToDisplayType($parameterType) . ' ' : '', |
|
145 | + $parameterType ? ReflectionType::convertToDisplayType($parameterType).' ' : '', |
|
146 | 146 | $this->isVariadic() ? '...' : '', |
147 | 147 | $this->isPassedByReference() ? '&' : '', |
148 | 148 | $this->getName(), |
149 | - ($isOptional && $hasDefaultValue) ? (' = ' . $defaultValue) : '' |
|
149 | + ($isOptional && $hasDefaultValue) ? (' = '.$defaultValue) : '' |
|
150 | 150 | ); |
151 | 151 | } |
152 | 152 | |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | |
197 | 197 | throw new ReflectionException("Can not resolve a class name for parameter"); |
198 | 198 | } |
199 | - $className = $parameterType->toString(); |
|
199 | + $className = $parameterType->toString(); |
|
200 | 200 | |
201 | 201 | return ReflectionEngine::isClassEmulated($className) ? new ReflectionClass($className) : new \ReflectionClass($className); |
202 | 202 | } |