Completed
Push — 1.x ( f091f0...81f5a7 )
by Akihito
20s
created
src/Provide/Transfer/ConditionalResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function isModified(ResourceObject $ro, array $server) : bool
27 27
     {
28
-        return ! (isset($server['HTTP_IF_NONE_MATCH'], $ro->headers['ETag']) && $server['HTTP_IF_NONE_MATCH'] === $ro->headers['ETag']);
28
+        return !(isset($server['HTTP_IF_NONE_MATCH'], $ro->headers['ETag']) && $server['HTTP_IF_NONE_MATCH'] === $ro->headers['ETag']);
29 29
     }
30 30
 
31 31
     /**
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $headers = [];
37 37
         foreach ($originalHeaders as $label => $value) {
38
-            if (! in_array($label, self::HEADER_IN_304, true)) {
38
+            if (!in_array($label, self::HEADER_IN_304, true)) {
39 39
                 continue;
40 40
             }
41 41
             $headers[$label] = $value;
Please login to merge, or discard this patch.