Completed
Push — master ( 7db06b...51fae5 )
by Gabriel
03:38
created
src/OsDetector.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -148,8 +148,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     
Please login to merge, or discard this patch.