Completed
Pull Request — 8.x-2.x (#28)
by Frédéric G.
07:56
created
modules/mongodb_watchdog/src/Command/SanityCheckCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     ];
57 57
 
58 58
     // 0, 1 and $items are reserved.
59
-    for ($i = 1 ; $i < $barCount ; $i++) {
59
+    for ($i = 1; $i < $barCount; $i++) {
60 60
       $buckets[$i * $barWidth] = 0;
61 61
     }
62 62
     ksort($buckets);
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
     $collections = $db->listCollections();
87 87
     foreach ($collections as $collectionInfo) {
88
-      $name = $collectionInfo->getName();// . " " . $collection->count() ."\n"
88
+      $name = $collectionInfo->getName(); // . " " . $collection->count() ."\n"
89 89
       $collection = $db->selectCollection($name);
90 90
       $count = $collection->count();
91 91
       if (preg_match('/' . Logger::EVENT_COLLECTIONS_PATTERN . '/', $name)) {
Please login to merge, or discard this patch.