Completed
Pull Request — master (#62)
by
unknown
44:56 queued 22:56
created
src/Standards/BestIt/Sniffs/DocTags/ReturnTagSniff.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -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
     /**
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
 
192 192
         if ($nextReturnType['code'] === T_NULLABLE) {
193 193
             $nextReturnType = $this->file->getTokens()[$nextReturnTypePos + 1];
194
-            $nextReturnType['content'] = '?' . $nextReturnType['content'];
194
+            $nextReturnType['content'] = '?'.$nextReturnType['content'];
195 195
         }
196 196
 
197 197
         return $nextReturnType['code'] === T_STRING ? $nextReturnType : null;
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 
235 235
         $this->file->fixer->replaceToken(
236 236
             $this->stackPos + 2,
237
-            $this->returnType['content'] . '' . $originDesc
237
+            $this->returnType['content'].''.$originDesc
238 238
         );
239 239
 
240 240
         $this->file->fixer->endChangeset();
Please login to merge, or discard this patch.