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