| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public static function extractDocumentRoots(array $inventory): array |
||
| 11 | { |
||
| 12 | $documentRoots = self::extractDocumentRootByKey($inventory, ApacheServerNameCollector::COLLECTION_IDENTIFIER); |
||
| 13 | $documentRoots = array_merge($documentRoots, self::extractDocumentRootByKey($inventory, NginxServerNameCollector::COLLECTION_IDENTIFIER)); |
||
| 14 | |||
| 15 | return array_unique($documentRoots); |
||
| 16 | } |
||
| 34 | } |