Skip to content

Commit

Permalink
Merge pull request #398 from nullform/fix-no-default-value
Browse files Browse the repository at this point in the history
Default value for $inlineKeyboard
  • Loading branch information
BoShurik authored Apr 21, 2023
2 parents 7a53421 + b6bd051 commit 58897c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Types/Inline/InlineKeyboardMarkup.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class InlineKeyboardMarkup extends BaseType
/**
* @param array $inlineKeyboard
*/
public function __construct($inlineKeyboard)
public function __construct($inlineKeyboard = [])
{
$this->inlineKeyboard = $inlineKeyboard;
}
Expand Down

0 comments on commit 58897c2

Please sign in to comment.