|
@@ -66,7 +66,7 @@ discard block |
|
|
block discarded – undo |
|
66
|
66
|
* |
|
67
|
67
|
* @var string |
|
68
|
68
|
*/ |
|
69
|
|
- private const MESSAGE_TAG_MIXED_TYPE = 'We suggest that you avoid the "mixed" type and declare the ' . |
|
|
69
|
+ private const MESSAGE_TAG_MIXED_TYPE = 'We suggest that you avoid the "mixed" type and declare the '. |
|
70
|
70
|
'required types in detail.'; |
|
71
|
71
|
|
|
72
|
72
|
/** |
|
@@ -192,7 +192,7 @@ discard block |
|
|
block discarded – undo |
|
192
|
192
|
|
|
193
|
193
|
if ($nextReturnType['code'] === T_NULLABLE) { |
|
194
|
194
|
$nextReturnType = $this->file->getTokens()[$nextReturnTypePos + 1]; |
|
195
|
|
- $nextReturnType['content'] = '?' . $nextReturnType['content']; |
|
|
195
|
+ $nextReturnType['content'] = '?'.$nextReturnType['content']; |
|
196
|
196
|
$nextReturnType['position'] = $nextReturnTypePos; |
|
197
|
197
|
} |
|
198
|
198
|
|
|
@@ -238,7 +238,7 @@ discard block |
|
|
block discarded – undo |
|
238
|
238
|
|
|
239
|
239
|
$this->file->fixer->replaceToken( |
|
240
|
240
|
$this->stackPos + 2, |
|
241
|
|
- $this->returnType['content'] . '' . $originDesc |
|
|
241
|
+ $this->returnType['content'].''.$originDesc |
|
242
|
242
|
); |
|
243
|
243
|
|
|
244
|
244
|
$this->file->fixer->endChangeset(); |
Please login to merge, or discard this patch.