Completed
Pull Request — master (#62)
by
unknown
56:32
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
     /**
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
 
190 190
         if ($nextReturnType['code'] === T_NULLABLE) {
191 191
             $nextReturnType = $this->file->getTokens()[$nextReturnType['pointer'] + 1];
192
-            $nextReturnType['content'] = '?' . $nextReturnType['content'];
192
+            $nextReturnType['content'] = '?'.$nextReturnType['content'];
193 193
         }
194 194
 
195 195
         return $nextReturnType['code'] === T_STRING ? $nextReturnType : null;
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
 
233 233
         $this->file->fixer->replaceToken(
234 234
             $this->stackPos + 2,
235
-            $this->returnType['content'] . '' . $originDesc
235
+            $this->returnType['content'].''.$originDesc
236 236
         );
237 237
 
238 238
         $this->file->fixer->endChangeset();
Please login to merge, or discard this patch.