@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | * No result found? |
| 188 | 188 | */ |
| 189 | 189 | if ($parser->deviceDetect($headers) !== true) { |
| 190 | - throw new NoResultFoundException('No result found for user agent: ' . $userAgent); |
|
| 190 | + throw new NoResultFoundException('No result found for user agent: '.$userAgent); |
|
| 191 | 191 | } |
| 192 | 192 | |
| 193 | 193 | $resultRaw = $parser->getReply(); |
@@ -195,8 +195,8 @@ discard block |
||
| 195 | 195 | /* |
| 196 | 196 | * No result found? |
| 197 | 197 | */ |
| 198 | - if (! isset($resultRaw['hd_specs']) || $this->hasResult($resultRaw['hd_specs']) !== true) { |
|
| 199 | - throw new NoResultFoundException('No result found for user agent: ' . $userAgent); |
|
| 198 | + if (!isset($resultRaw['hd_specs']) || $this->hasResult($resultRaw['hd_specs']) !== true) { |
|
| 199 | + throw new NoResultFoundException('No result found for user agent: '.$userAgent); |
|
| 200 | 200 | } |
| 201 | 201 | |
| 202 | 202 | /* |