@@ -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 | } |
@@ -35,7 +35,7 @@ |
||
35 | 35 | foreach ($results as $result) { |
36 | 36 | /** @var UriAwareResponse $response */ |
37 | 37 | if ($result->getStatus() == CheckResult::STATUS_FAILURE) { |
38 | - $this->memory[] = (string)$response->getUri(); |
|
38 | + $this->memory[] = (string) $response->getUri(); |
|
39 | 39 | } |
40 | 40 | } |
41 | 41 | } |