@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | * @param $buttons Buttons passed as inizialization. |
34 | 34 | * @return The object created with the buttons passed. |
35 | 35 | */ |
36 | - public function __construct(\PhpBotFramework\Bot &$bot = null, |
|
36 | + public function __construct(\PhpBotFramework\Bot & $bot = null, |
|
37 | 37 | array $buttons = array()) { |
38 | 38 | |
39 | 39 | // Get bot reference |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | public function getBackButton($json_serialized = true) { |
211 | 211 | |
212 | 212 | // Create the button |
213 | - $inline_keyboard = [ 'inline_keyboard' => |
|
213 | + $inline_keyboard = ['inline_keyboard' => |
|
214 | 214 | [ |
215 | 215 | [ |
216 | 216 | [ |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | public function getBackSkipKeyboard($json_serialized = true) { |
244 | 244 | |
245 | 245 | // Create the keyboard |
246 | - $inline_keyboard = [ 'inline_keyboard' => |
|
246 | + $inline_keyboard = ['inline_keyboard' => |
|
247 | 247 | [ |
248 | 248 | [ |
249 | 249 | [ |
@@ -26,7 +26,7 @@ |
||
26 | 26 | } |
27 | 27 | |
28 | 28 | protected function mergeWithDefaults($params) { |
29 | - $DEFAULTS = [ 'adapter' => 'mysql', 'host' => 'localhost' ]; |
|
29 | + $DEFAULTS = ['adapter' => 'mysql', 'host' => 'localhost']; |
|
30 | 30 | return array_merge($DEFAULTS, $params); |
31 | 31 | } |
32 | 32 |