@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * |
60 | 60 | * @var string |
61 | 61 | */ |
62 | - private const MESSAGE_CODE_NO_ARRAY_FOUND = 'Your doc block describes an array return. ' . |
|
62 | + private const MESSAGE_CODE_NO_ARRAY_FOUND = 'Your doc block describes an array return. '. |
|
63 | 63 | 'But there was no ": array" found at the end of your method'; |
64 | 64 | |
65 | 65 | /** |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * |
82 | 82 | * @var string |
83 | 83 | */ |
84 | - private const MESSAGE_CODE_TAG_NOT_EQUAL_TO_RETURN_TYPE = 'Your return-type is not equal to your return-tag ' . |
|
84 | + private const MESSAGE_CODE_TAG_NOT_EQUAL_TO_RETURN_TYPE = 'Your return-type is not equal to your return-tag '. |
|
85 | 85 | 'in method description'; |
86 | 86 | |
87 | 87 | /** |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * |
90 | 90 | * @var string |
91 | 91 | */ |
92 | - private const MESSAGE_TAG_MIXED_TYPE = 'We suggest that you avoid the "mixed" type and declare the ' . |
|
92 | + private const MESSAGE_TAG_MIXED_TYPE = 'We suggest that you avoid the "mixed" type and declare the '. |
|
93 | 93 | 'required types in detail.'; |
94 | 94 | |
95 | 95 | /** |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | |
223 | 223 | if ($nextReturnType['code'] === T_NULLABLE) { |
224 | 224 | $nextReturnType = $this->file->getTokens()[$nextReturnTypePos + 1]; |
225 | - $nextReturnType['content'] = '?' . $nextReturnType['content']; |
|
225 | + $nextReturnType['content'] = '?'.$nextReturnType['content']; |
|
226 | 226 | $nextReturnType['position'] = $nextReturnTypePos; |
227 | 227 | } |
228 | 228 | } |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | |
246 | 246 | $this->file->fixer->replaceToken( |
247 | 247 | $this->stackPos + 2, |
248 | - $this->returnType['content'] . '' . $originDesc |
|
248 | + $this->returnType['content'].''.$originDesc |
|
249 | 249 | ); |
250 | 250 | |
251 | 251 | $this->file->fixer->endChangeset(); |