Completed
Push — master ( 4e1c03...e292dd )
by Danilo
03:28
created
src/Database/Database.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * \brief Create a Database handler object.
50 50
      * @param BasicBot $bot Reference to the bot that use this object.
51 51
      */
52
-    public function __construct(BasicBot &$bot)
52
+    public function __construct(BasicBot & $bot)
53 53
     {
54 54
         $this->bot = $bot;
55 55
     }
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     public static function addDefaultValue(array $params) : array
96 96
     {
97
-        static $defaults = [ 'adapter' => PDO_DEFAULT_ADAPTER, 'host' => 'localhost', 'options' => [] ];
97
+        static $defaults = ['adapter' => PDO_DEFAULT_ADAPTER, 'host' => 'localhost', 'options' => []];
98 98
         return array_merge($defaults, $params);
99 99
     }
100 100
 
Please login to merge, or discard this patch.