@@ -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(Bot &$bot = null, array $buttons = array()) { |
|
36 | + public function __construct(Bot & $bot = null, array $buttons = array()) { |
|
37 | 37 | |
38 | 38 | // Get bot reference |
39 | 39 | $this->bot = $bot; |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | public function getBackButton($json_serialized = true) { |
210 | 210 | |
211 | 211 | // Create the button |
212 | - $inline_keyboard = [ 'inline_keyboard' => |
|
212 | + $inline_keyboard = ['inline_keyboard' => |
|
213 | 213 | [ |
214 | 214 | [ |
215 | 215 | [ |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | public function getBackSkipKeyboard($json_serialized = true) { |
243 | 243 | |
244 | 244 | // Create the keyboard |
245 | - $inline_keyboard = [ 'inline_keyboard' => |
|
245 | + $inline_keyboard = ['inline_keyboard' => |
|
246 | 246 | [ |
247 | 247 | [ |
248 | 248 | [ |