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