@@ -148,8 +148,8 @@ discard block |
||
| 148 | 148 | $os->setVersion('NT 4.0'); |
| 149 | 149 | break; |
| 150 | 150 | default: |
| 151 | - if ((float)$matches[1] >= 10.0) { |
|
| 152 | - $os->setVersion((float)$matches[1]); |
|
| 151 | + if ((float) $matches[1] >= 10.0) { |
|
| 152 | + $os->setVersion((float) $matches[1]); |
|
| 153 | 153 | } |
| 154 | 154 | break; |
| 155 | 155 | } |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | // Windows version |
| 197 | 197 | if (preg_match('/Windows Phone ([\d\.]*)/i', $userAgent->getUserAgentString(), $matches)) { |
| 198 | 198 | if (isset($matches[1])) { |
| 199 | - $os->setVersion((float)$matches[1]); |
|
| 199 | + $os->setVersion((float) $matches[1]); |
|
| 200 | 200 | } |
| 201 | 201 | } |
| 202 | 202 | |