Completed
Push — master ( 359f1a...4c3194 )
by Bret R.
01:15
created
src/Check/MongoDbCheck.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             if (count($this->collections) > 0) {
42 42
                 $this->checkCollections($databases);
43 43
             }
44
-        } catch(\Exception $e) {
44
+        } catch (\Exception $e) {
45 45
             $result->setError($e->getMessage());
46 46
         }
47 47
         return $result;
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
     private function checkDatabases($databases)
72 72
     {
73
-        foreach($this->databases as $database) {
73
+        foreach ($this->databases as $database) {
74 74
             if (!in_array($database, $databases)) {
75 75
                 throw new \RuntimeException('Database '.$database.' does not exist');
76 76
             }
Please login to merge, or discard this patch.