@@ -10,7 +10,7 @@ |
||
| 10 | 10 | */ |
| 11 | 11 | function trim_first(array $array): array |
| 12 | 12 | { |
| 13 | - array_walk($array, function (&$item) { |
|
| 13 | + array_walk($array, function(&$item) { |
|
| 14 | 14 | list($firstElement) = $item; |
| 15 | 15 | |
| 16 | 16 | $item = trim($firstElement); |
@@ -17,6 +17,6 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function getUtility() |
| 19 | 19 | { |
| 20 | - return static::$utility.' '.static::$argument; |
|
| 20 | + return static::$utility . ' ' . static::$argument; |
|
| 21 | 21 | } |
| 22 | 22 | } |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | */ |
| 47 | 47 | public function create(string $password): bool |
| 48 | 48 | { |
| 49 | - return (bool) file_put_contents($this->getTmpProfileFileName(), $this->renderTemplate($password)); |
|
| 49 | + return (bool)file_put_contents($this->getTmpProfileFileName(), $this->renderTemplate($password)); |
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | $hex = ''; |
| 135 | 135 | |
| 136 | 136 | for ($i = 0; $i < $len; $i++) { |
| 137 | - $hex .= substr('0'.dechex(ord($ssid[$i])), -2); |
|
| 137 | + $hex .= substr('0' . dechex(ord($ssid[$i])), -2); |
|
| 138 | 138 | } |
| 139 | 139 | |
| 140 | 140 | return strtoupper($hex); |