@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | public function __debugInfo(): array |
| 124 | 124 | { |
| 125 | 125 | return [ |
| 126 | - 'name' => (string)$this->parameterNode->var->name, |
|
| 126 | + 'name' => (string) $this->parameterNode->var->name, |
|
| 127 | 127 | ]; |
| 128 | 128 | } |
| 129 | 129 | |
@@ -149,11 +149,11 @@ discard block |
||
| 149 | 149 | 'Parameter #%d [ %s %s%s%s$%s%s ]', |
| 150 | 150 | $this->parameterIndex, |
| 151 | 151 | $isOptional ? '<optional>' : '<required>', |
| 152 | - $parameterType ? ReflectionType::convertToDisplayType($parameterType) . ' ' : '', |
|
| 152 | + $parameterType ? ReflectionType::convertToDisplayType($parameterType).' ' : '', |
|
| 153 | 153 | $this->isVariadic() ? '...' : '', |
| 154 | 154 | $this->isPassedByReference() ? '&' : '', |
| 155 | 155 | $this->getName(), |
| 156 | - ($isOptional && $hasDefaultValue) ? (' = ' . $defaultValue) : '' |
|
| 156 | + ($isOptional && $hasDefaultValue) ? (' = '.$defaultValue) : '' |
|
| 157 | 157 | ); |
| 158 | 158 | } |
| 159 | 159 | |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | /** |
| 249 | 249 | * {@inheritDoc} |
| 250 | 250 | */ |
| 251 | - public function getDefaultValueConstantName(): null|string |
|
| 251 | + public function getDefaultValueConstantName(): null | string |
|
| 252 | 252 | { |
| 253 | 253 | if (!$this->isDefaultValueAvailable()) { |
| 254 | 254 | throw new ReflectionException('Internal error: Failed to retrieve the default value'); |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | */ |
| 263 | 263 | public function getName(): string |
| 264 | 264 | { |
| 265 | - return (string)$this->parameterNode->var->name; |
|
| 265 | + return (string) $this->parameterNode->var->name; |
|
| 266 | 266 | } |
| 267 | 267 | |
| 268 | 268 | /** |