@@ -199,7 +199,7 @@ |
||
199 | 199 | * No result found? |
200 | 200 | */ |
201 | 201 | if ($this->hasResult($resultRaw) !== true) { |
202 | - throw new NoResultFoundException('No result found for user agent: ' . $userAgent); |
|
202 | + throw new NoResultFoundException('No result found for user agent: '.$userAgent); |
|
203 | 203 | } |
204 | 204 | |
205 | 205 | /* |
@@ -195,14 +195,14 @@ |
||
195 | 195 | throw new InvalidArgumentException('You need to warm-up the cache first to use this provider'); |
196 | 196 | } |
197 | 197 | |
198 | - throw new NoResultFoundException('No result found for user agent: ' . $userAgent); |
|
198 | + throw new NoResultFoundException('No result found for user agent: '.$userAgent); |
|
199 | 199 | } |
200 | 200 | |
201 | 201 | /* |
202 | 202 | * No result found? |
203 | 203 | */ |
204 | - if (! isset($resultRaw['hd_specs']) || $this->hasResult($resultRaw['hd_specs']) !== true) { |
|
205 | - throw new NoResultFoundException('No result found for user agent: ' . $userAgent); |
|
204 | + if (!isset($resultRaw['hd_specs']) || $this->hasResult($resultRaw['hd_specs']) !== true) { |
|
205 | + throw new NoResultFoundException('No result found for user agent: '.$userAgent); |
|
206 | 206 | } |
207 | 207 | |
208 | 208 | /* |