@@ -16,8 +16,8 @@ |
||
16 | 16 | { |
17 | 17 | if ($response instanceof ContentTypeAwareResponse) { |
18 | 18 | if (($response->getStatusCode() < 300 || $response->getStatusCode() >= 400) && $response->getContentType() === 'text/html') { |
19 | - if (stripos((string)$response->getBody(), '</html>') === false) { |
|
20 | - throw new ValidationFailedException('Closing html tag is missing (document length: ' . strlen((string)$response->getBody()) . ').'); |
|
19 | + if (stripos((string) $response->getBody(), '</html>') === false) { |
|
20 | + throw new ValidationFailedException('Closing html tag is missing (document length: '.strlen((string) $response->getBody()).').'); |
|
21 | 21 | } |
22 | 22 | } |
23 | 23 | } |