Passed
Push — master ( 6bb14b...dc86bc )
by Nils
02:20
created
src/Command/CollectCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         $inventory = [];
53 53
 
54 54
         foreach ($this->collectors as $collector) {
55
-            if($collector instanceof  InventoryAwareCollector) {
55
+            if ($collector instanceof  InventoryAwareCollector) {
56 56
                 $collector->setInventory($inventory);
57 57
             }
58 58
             $collected = $collector->collect();
Please login to merge, or discard this patch.
src/Collector/Website/WordPress/WordPressCollector.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.