Completed
Push — master ( 71b082...d4eb58 )
by smiley
02:29
created
src/Psr7/MultipartStream.php 2 patches
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,9 @@
 block discarded – undo
14 14
 
15 15
 namespace chillerlan\HTTP\Psr7;
16 16
 
17
+use InvalidArgumentException;
18
+use RuntimeException;
17 19
 use chillerlan\HTTP\Psr17;
18
-use InvalidArgumentException, RuntimeException;
19 20
 
20 21
 /**
21 22
  * @property \chillerlan\HTTP\Psr7\AppendStream $stream
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,8 +151,8 @@
 block discarded – undo
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
 		}
Please login to merge, or discard this patch.
src/Psr7/Stream.php 1 patch
Unused Use Statements   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,9 @@
 block discarded – undo
12 12
 
13 13
 namespace chillerlan\HTTP\Psr7;
14 14
 
15
-use Exception, InvalidArgumentException, RuntimeException;
15
+use Exception;
16
+use InvalidArgumentException;
17
+use RuntimeException;
16 18
 
17 19
 /**
18 20
  * @property resource $stream
Please login to merge, or discard this patch.