@@ -125,7 +125,9 @@ discard block |
||
| 125 | 125 | |
| 126 | 126 | $output = Runner::getInstance()->run($command)->getOutput(); |
| 127 | 127 | |
| 128 | - if ($output === null) return []; |
|
| 128 | + if ($output === null) { |
|
| 129 | + return []; |
|
| 130 | + } |
|
| 129 | 131 | |
| 130 | 132 | $lines = explode("\n", trim($output)); |
| 131 | 133 | $services = []; |
@@ -133,7 +135,9 @@ discard block |
||
| 133 | 135 | $systemServices = array_flip($this->systemServices); |
| 134 | 136 | |
| 135 | 137 | foreach ($lines as $line) { |
| 136 | - if (empty($line)) continue; |
|
| 138 | + if (empty($line)) { |
|
| 139 | + continue; |
|
| 140 | + } |
|
| 137 | 141 | $parts = explode('|', $line); |
| 138 | 142 | |
| 139 | 143 | if (count($parts) >= 5) { |