@@ -88,7 +88,7 @@ discard block |
||
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 |
||
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(), |