Skip to content

Commit 58897c2

Browse files
authored
Merge pull request #398 from nullform/fix-no-default-value
Default value for $inlineKeyboard
2 parents 7a53421 + b6bd051 commit 58897c2

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)