@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | if ($isOptional) { |
| 131 | 131 | $defaultValue = $this->getDefaultValue(); |
| 132 | 132 | if (is_string($defaultValue) && strlen($defaultValue) > 15) { |
| 133 | - $defaultValue = substr($defaultValue, 0, 15) . '...'; |
|
| 133 | + $defaultValue = substr($defaultValue, 0, 15).'...'; |
|
| 134 | 134 | } |
| 135 | 135 | /* @see https://3v4l.org/DJOEb for behaviour changes */ |
| 136 | 136 | if (is_double($defaultValue) && fmod($defaultValue, 1.0) === 0.0) { |
@@ -143,12 +143,12 @@ discard block |
||
| 143 | 143 | 'Parameter #%d [ %s %s%s%s%s$%s%s ]', |
| 144 | 144 | $this->parameterIndex, |
| 145 | 145 | ($this->isVariadic() || $isOptional) ? '<optional>' : '<required>', |
| 146 | - $parameterType ? ltrim($parameterType, '\\') . ' ' : '', |
|
| 146 | + $parameterType ? ltrim($parameterType, '\\').' ' : '', |
|
| 147 | 147 | $isNullableParam ? 'or NULL ' : '', |
| 148 | 148 | $this->isVariadic() ? '...' : '', |
| 149 | 149 | $this->isPassedByReference() ? '&' : '', |
| 150 | 150 | $this->getName(), |
| 151 | - $isOptional ? (' = ' . $defaultValue) : '' |
|
| 151 | + $isOptional ? (' = '.$defaultValue) : '' |
|
| 152 | 152 | ); |
| 153 | 153 | } |
| 154 | 154 | |