| @@ -41,7 +41,7 @@ discard block | ||
| 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 | ||
| 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 | } |