@@ -17,7 +17,9 @@ |
||
17 | 17 | |
18 | 18 | public function collect(): array |
19 | 19 | { |
20 | - if (!array_key_exists(ApacheServerNameCollector::COLLECTION_IDENTIFIER, $this->inventory)) return []; |
|
20 | + if (!array_key_exists(ApacheServerNameCollector::COLLECTION_IDENTIFIER, $this->inventory)) { |
|
21 | + return []; |
|
22 | + } |
|
21 | 23 | |
22 | 24 | $configs = $this->inventory[ApacheServerNameCollector::COLLECTION_IDENTIFIER]; |
23 | 25 |