Passed
Pull Request — master (#26)
by
unknown
10:58
created
src/Message.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
     {
126 126
         $name = $this->normalizeHeaderName($name);
127 127
 
128
-        return ! empty($this->headers[$name]);
128
+        return !empty($this->headers[$name]);
129 129
     }
130 130
 
131 131
     /**
Please login to merge, or discard this patch.
src/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
      */
230 230
     protected function setUri($uri, $preserveHost = false) : void
231 231
     {
232
-        if (! ($uri instanceof UriInterface)) {
232
+        if (!($uri instanceof UriInterface)) {
233 233
             $uri = (new UriFactory)->createUri($uri);
234 234
         }
235 235
 
Please login to merge, or discard this patch.
src/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
             throw new InvalidArgumentException('HTTP status-code must be an integer');
151 151
         }
152 152
 
153
-        if (! ($statusCode >= 100 && $statusCode <= 599)) {
153
+        if (!($statusCode >= 100 && $statusCode <= 599)) {
154 154
             throw new InvalidArgumentException(sprintf('HTTP status-code "%d" is not valid', $statusCode));
155 155
         }
156 156
     }
Please login to merge, or discard this patch.