Completed
Push — master ( a95f7d...eaa6fe )
by Danilo
02:55
created
src/Utilities/BotState.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      * @{
87 87
      */
88 88
 
89
-    public function __construct(BasicBot &$bot)
89
+    public function __construct(BasicBot & $bot)
90 90
     {
91 91
         $this->bot = $bot;
92 92
     }
Please login to merge, or discard this patch.
src/Localization/Localization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     /** \brief Current user/group language. */
48 48
     public $language;
49 49
 
50
-    public function __construct(BasicBot &$bot)
50
+    public function __construct(BasicBot & $bot)
51 51
     {
52 52
         $this->bot = $bot;
53 53
     }
Please login to merge, or discard this patch.
src/Database/Database.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * \brief Create a Database handler object.
48 48
      * @param BasicBot $bot Reference to the bot that use this object.
49 49
      */
50
-    public function __construct(BasicBot &$bot)
50
+    public function __construct(BasicBot & $bot)
51 51
     {
52 52
         $this->bot = $bot;
53 53
     }
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     protected function addDefaultValue(array $params) : array
94 94
     {
95
-        static $defaults = [ 'adapter' => PDO_DEFAULT_ADAPTER, 'host' => 'localhost', 'options' => [] ];
95
+        static $defaults = ['adapter' => PDO_DEFAULT_ADAPTER, 'host' => 'localhost', 'options' => []];
96 96
         return array_merge($defaults, $params);
97 97
     }
98 98
 
Please login to merge, or discard this patch.