Completed
Push — master ( 37f5c4...45ad22 )
by Pavel
16:11 queued 06:11
created
src/Console/SchemaExport.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         $result = [];
89 89
 
90 90
         $collections = DB::getMongoClient()->selectDatabase($database)->listCollections();
91
-        foreach($collections as $collection) {
91
+        foreach ($collections as $collection) {
92 92
             $collectionName = $collection->getName();
93 93
             $result[$collectionName] = [
94 94
                 'indexes' => [],
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
             ];
97 97
 
98 98
             $indexes = DB::getMongoClient()->selectCollection($database, $collectionName)->listIndexes();
99
-            foreach($indexes as $index) {
99
+            foreach ($indexes as $index) {
100 100
                 $idx = [
101 101
                     'name' => $index->getName(),
102 102
                     'ns' => $index->getNamespace(),
Please login to merge, or discard this patch.