@@ -27,7 +27,7 @@ |
||
| 27 | 27 | $passResult = $result->ruleGroups->USABILITY; |
| 28 | 28 | |
| 29 | 29 | if (!$passResult->pass) { |
| 30 | - throw new ValidationFailedException('Google mobile friendly test was not passed. Score ' . $passResult->score . '/100.'); |
|
| 30 | + throw new ValidationFailedException('Google mobile friendly test was not passed. Score '.$passResult->score.'/100.'); |
|
| 31 | 31 | } |
| 32 | 32 | } |
| 33 | 33 | } |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | public function validate(Response $response) |
| 26 | 26 | { |
| 27 | 27 | if ($response->getDuration() > $this->maxDuration) { |
| 28 | - throw new ValidationFailedException('The http request took ' . $response->getDuration() . ' milliseconds (limit was ' . $this->maxDuration . 'ms). '); |
|
| 28 | + throw new ValidationFailedException('The http request took '.$response->getDuration().' milliseconds (limit was '.$this->maxDuration.'ms). '); |
|
| 29 | 29 | } |
| 30 | 30 | } |
| 31 | 31 | } |