@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | { |
| 17 | 17 | if ($response instanceof ContentTypeAwareResponse) { |
| 18 | 18 | |
| 19 | - $body = (string)$response->getBody(); |
|
| 19 | + $body = (string) $response->getBody(); |
|
| 20 | 20 | $body = preg_replace('/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F,\xFF,\x8B]/', '', $body); |
| 21 | 21 | |
| 22 | 22 | if (($response->getStatusCode() < 300 || $response->getStatusCode() >= 400) |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | && strlen($body) > 0 |
| 25 | 25 | ) { |
| 26 | 26 | if (stripos($body, '</html>') === false) { |
| 27 | - throw new ValidationFailedException('Closing html tag is missing (document length: ' . strlen($body) . ').'); |
|
| 27 | + throw new ValidationFailedException('Closing html tag is missing (document length: '.strlen($body).').'); |
|
| 28 | 28 | } |
| 29 | 29 | } |
| 30 | 30 | } |