@@ -25,7 +25,7 @@ discard block |
||
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 |
||
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; |