Passed
Pull Request — master (#4)
by Aleksandr
03:00
created
src/System/Windows/Network.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@  discard block
 block discarded – undo
29 29
         Command::exec(
30 30
             implode(' && ', [
31 31
                 sprintf(
32
-                    ($this->getUtility().' add profile filename="%s"'),
32
+                    ($this->getUtility() . ' add profile filename="%s"'),
33 33
                     $this->getProfileService()->getTmpProfileFileName()
34 34
                 ),
35 35
                 sprintf(
36
-                    ($this->getUtility().' connect interface="%s" ssid="%s" name="%s"'),
36
+                    ($this->getUtility() . ' connect interface="%s" ssid="%s" name="%s"'),
37 37
                     $device,
38 38
                     $this->ssid,
39 39
                     $this->ssid
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     public function disconnect(string $device): void
53 53
     {
54 54
         Command::exec(
55
-            sprintf($this->getUtility().' disconnect interface="%s"', $device)
55
+            sprintf($this->getUtility() . ' disconnect interface="%s"', $device)
56 56
         );
57 57
     }
58 58
 
@@ -66,10 +66,10 @@  discard block
 block discarded – undo
66 66
         $instance = new self();
67 67
         $instance->ssid = $network[0];
68 68
         $instance->bssid = $network[4];
69
-        $instance->channel = (int) $network[7];
69
+        $instance->channel = (int)$network[7];
70 70
         $instance->security = $network[2];
71 71
         $instance->securityFlags = $network[3];
72
-        $instance->quality = (int) $network[5];
72
+        $instance->quality = (int)$network[5];
73 73
         $instance->frequency = $instance->getFrequency();
74 74
         $instance->dbm = $instance->qualityToDBm();
75 75
         $instance->connected = isset($network[10]);
Please login to merge, or discard this patch.