Skip to content

Commit b6bd051

Browse files
authored
Default value for $inlineKeyboard
Default value for $inlineKeyboard to allow the constructor to be called with no arguments.
1 parent 7a53421 commit b6bd051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Types/Inline/InlineKeyboardMarkup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class InlineKeyboardMarkup extends BaseType
3939
/**
4040
* @param array $inlineKeyboard
4141
*/
42-
public function __construct($inlineKeyboard)
42+
public function __construct($inlineKeyboard = [])
4343
{
4444
$this->inlineKeyboard = $inlineKeyboard;
4545
}

0 commit comments

Comments
 (0)