Conditions | 4 |
Paths | 8 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 0 |
1 | <?php |
||
56 | public function getText() |
||
57 | { |
||
58 | $data = []; |
||
59 | $data[] = $this->authentication !== null ? "T:{$this->authentication}" : ""; |
||
60 | $data[] = "S:{$this->ssid}"; |
||
61 | $data[] = $this->password !== null ? "P:{$this->password}" : ""; |
||
62 | $data[] = $this->hidden !== null ? "H:{$this->hidden}" : ""; |
||
63 | return "WIFI:" . implode(";", $data) . ";"; |
||
64 | } |
||
65 | } |
||
66 |