Completed
Pull Request — master (#22)
by
unknown
02:09
created
src/Utilities/DatabaseHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
             $this->pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
19 19
 
20 20
             return true;
21
-        } catch(PDOException $e) {
21
+        } catch (PDOException $e) {
22 22
             echo 'Unable to connect to database, an error occured:' . $e->getMessage();
23 23
         }
24 24
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     }
27 27
 
28 28
     protected function mergeWithDefaults($params) {
29
-        $DEFAULTS = [ 'adapter' => 'mysql', 'host' => 'localhost' ];
29
+        $DEFAULTS = ['adapter' => 'mysql', 'host' => 'localhost'];
30 30
         return array_merge($DEFAULTS, $params);
31 31
     }
32 32
 
Please login to merge, or discard this patch.