Passed
Pull Request — master (#21)
by
unknown
18:38 queued 07:39
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/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
             throw new InvalidArgumentException('HTTP status-code must be an integer');
150 150
         }
151 151
 
152
-        if (! ($statusCode >= 100 && $statusCode <= 599)) {
152
+        if (!($statusCode >= 100 && $statusCode <= 599)) {
153 153
             throw new InvalidArgumentException(sprintf('The status-code "%d" is not valid', $statusCode));
154 154
         }
155 155
     }
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.