Passed
Push — master ( b969a8...dd3faf )
by Zaahid
08:40
created
src/Header/Consumer/Received/GenericReceivedConsumer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     protected function getSubConsumers()
78 78
     {
79
-        return [ $this->consumerService->getCommentConsumer() ];
79
+        return [$this->consumerService->getCommentConsumer()];
80 80
     }
81 81
 
82 82
     /**
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     protected function isStartToken($token)
90 90
     {
91
-        $pattern = '/^' . preg_quote($this->getPartName(), '/') . '$/i';
91
+        $pattern = '/^'.preg_quote($this->getPartName(), '/').'$/i';
92 92
         return (preg_match($pattern, $token) === 1);
93 93
     }
94 94
 
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     {
123 123
         return [
124 124
             '\s+',
125
-            '(\A\s*|\s+)(?i)' . preg_quote($this->getPartName(), '/') . '(?-i)(?=\s+)'
125
+            '(\A\s*|\s+)(?i)'.preg_quote($this->getPartName(), '/').'(?-i)(?=\s+)'
126 126
         ];
127 127
     }
128 128
 
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
         foreach ($filtered as $part) {
143 143
             if ($part instanceof CommentPart) {
144 144
                 $ret[] = $part;
145
-                continue;    // getValue() is empty anyway, but for clarity...
145
+                continue; // getValue() is empty anyway, but for clarity...
146 146
             }
147 147
             $strValue .= $part->getValue();
148 148
         }
Please login to merge, or discard this patch.