@@ -25,7 +25,7 @@ |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | $headerValue = $response->getHeader(static::HEADER); |
| 28 | - if (empty($headerValue) || (stripos(strtolower($headerValue[0]), 'essl') !== 0)) { |
|
| 28 | + if (empty($headerValue) || (stripos(strtolower($headerValue[ 0 ]), 'essl') !== 0)) { |
|
| 29 | 29 | throw new AssertStagingMiddlewareException(sprintf( |
| 30 | 30 | '"%s" header does not start with string "ESSL" (actual value = "%s")', |
| 31 | 31 | static::HEADER, |