@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * @return The object created with the buttons passed. |
59 | 59 | */ |
60 | 60 | public function __construct( |
61 | - \PhpBotFramework\Bot &$bot = null, |
|
61 | + \PhpBotFramework\Bot & $bot = null, |
|
62 | 62 | array $buttons = array() |
63 | 63 | ) { |
64 | 64 | |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | { |
226 | 226 | |
227 | 227 | // Create the button |
228 | - $inline_keyboard = [ 'inline_keyboard' => |
|
228 | + $inline_keyboard = ['inline_keyboard' => |
|
229 | 229 | [ |
230 | 230 | [ |
231 | 231 | [ |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | { |
255 | 255 | |
256 | 256 | // Create the keyboard |
257 | - $inline_keyboard = [ 'inline_keyboard' => |
|
257 | + $inline_keyboard = ['inline_keyboard' => |
|
258 | 258 | [ |
259 | 259 | [ |
260 | 260 | [ |
@@ -62,7 +62,7 @@ |
||
62 | 62 | |
63 | 63 | protected function mergeWithDefaults($params) |
64 | 64 | { |
65 | - $DEFAULTS = [ 'adapter' => 'mysql', 'host' => 'localhost' ]; |
|
65 | + $DEFAULTS = ['adapter' => 'mysql', 'host' => 'localhost']; |
|
66 | 66 | return array_merge($DEFAULTS, $params); |
67 | 67 | } |
68 | 68 |