@@ -229,7 +229,7 @@ |
||
| 229 | 229 | * No result found? |
| 230 | 230 | */ |
| 231 | 231 | if ($this->hasResult($browserRaw, $osRaw, $deviceRaw) !== true) { |
| 232 | - throw new NoResultFoundException('No result found for user agent: ' . $userAgent); |
|
| 232 | + throw new NoResultFoundException('No result found for user agent: '.$userAgent); |
|
| 233 | 233 | } |
| 234 | 234 | |
| 235 | 235 | /* |
@@ -185,7 +185,7 @@ |
||
| 185 | 185 | * No result found? |
| 186 | 186 | */ |
| 187 | 187 | if ($parser->isDetected() !== true) { |
| 188 | - throw new NoResultFoundException('No result found for user agent: ' . $userAgent); |
|
| 188 | + throw new NoResultFoundException('No result found for user agent: '.$userAgent); |
|
| 189 | 189 | } |
| 190 | 190 | |
| 191 | 191 | /* |
@@ -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 | /* |
@@ -210,7 +210,7 @@ |
||
| 210 | 210 | * No result found? |
| 211 | 211 | */ |
| 212 | 212 | if ($this->hasResult($browser, $os, $device) !== true) { |
| 213 | - throw new NoResultFoundException('No result found for user agent: ' . $userAgent); |
|
| 213 | + throw new NoResultFoundException('No result found for user agent: '.$userAgent); |
|
| 214 | 214 | } |
| 215 | 215 | |
| 216 | 216 | /* |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | $resultRaw = $functionName($userAgent); |
| 112 | 112 | |
| 113 | 113 | if ($this->hasResult($resultRaw) !== true) { |
| 114 | - throw new NoResultFoundException('No result found for user agent: ' . $userAgent); |
|
| 114 | + throw new NoResultFoundException('No result found for user agent: '.$userAgent); |
|
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | /* |
@@ -295,7 +295,7 @@ |
||
| 295 | 295 | * No result found? |
| 296 | 296 | */ |
| 297 | 297 | if ($this->hasResult($dd) !== true) { |
| 298 | - throw new NoResultFoundException('No result found for user agent: ' . $userAgent); |
|
| 298 | + throw new NoResultFoundException('No result found for user agent: '.$userAgent); |
|
| 299 | 299 | } |
| 300 | 300 | |
| 301 | 301 | /* |
@@ -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 | /* |
@@ -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 | /* |