Passed
Push — master ( ad3faa...5c4918 )
by Zaahid
03:33
created
src/Header/HeaderContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     public function add($name, $value)
126 126
     {
127 127
         $s = $this->getNormalizedHeaderName($name);
128
-        $this->headers[$this->nextIndex] = [ $name, $value ];
128
+        $this->headers[$this->nextIndex] = [$name, $value];
129 129
         $this->headerObjects[$this->nextIndex] = null;
130 130
         if (!isset($this->headerMap[$s])) {
131 131
             $this->headerMap[$s] = [];
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
             return;
143 143
         }
144 144
         $i = $this->headerMap[$s][$offset];
145
-        $this->headers[$i] = [ $name, $value ];
145
+        $this->headers[$i] = [$name, $value];
146 146
         $this->headerObjects[$i] = null;
147 147
     }
148 148
 
Please login to merge, or discard this patch.
src/Stream/HeaderStream.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,9 +54,9 @@
 block discarded – undo
54 54
             return $this->part->getRawHeaderIterator();
55 55
         } elseif ($this->part->getParent() !== null && $this->part->getParent()->isMime()) {
56 56
             return new ArrayIterator([
57
-                [ 'Content-Type', $this->part->getContentType() ],
58
-                [ 'Content-Disposition', $this->part->getContentDisposition() ],
59
-                [ 'Content-Transfer-Encoding', $this->part->getContentTransferEncoding() ]
57
+                ['Content-Type', $this->part->getContentType()],
58
+                ['Content-Disposition', $this->part->getContentDisposition()],
59
+                ['Content-Transfer-Encoding', $this->part->getContentTransferEncoding()]
60 60
             ]);
61 61
         }
62 62
         return new ArrayIterator();
Please login to merge, or discard this patch.