@@ -151,8 +151,8 @@ discard block |
||
151 | 151 | |
152 | 152 | private function hasHeader(array $headers, $key){ |
153 | 153 | $lowercaseHeader = strtolower($key); |
154 | - foreach ($headers as $k => $v) { |
|
155 | - if (strtolower($k) === $lowercaseHeader) { |
|
154 | + foreach($headers as $k => $v){ |
|
155 | + if(strtolower($k) === $lowercaseHeader){ |
|
156 | 156 | return true; |
157 | 157 | } |
158 | 158 | } |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | /** |
171 | 171 | * @inheritdoc |
172 | 172 | */ |
173 | - public function getSize():?int{ |
|
173 | + public function getSize(): ?int{ |
|
174 | 174 | return $this->stream->getSize() + strlen($this->boundary) + 6; |
175 | 175 | } |
176 | 176 |
@@ -95,7 +95,7 @@ |
||
95 | 95 | /** |
96 | 96 | * @inheritdoc |
97 | 97 | */ |
98 | - public function getSize():?int{ |
|
98 | + public function getSize(): ?int{ |
|
99 | 99 | return $this->stream->getSize(); |
100 | 100 | } |
101 | 101 |