up
This commit is contained in:
@@ -243,8 +243,9 @@ class ConversationStateService
|
||||
* @param int $menuId
|
||||
* @return bool
|
||||
*/
|
||||
public function setCurrentMenu(string $phoneNumber, int $menuId): bool
|
||||
public function setCurrentMenu(string $phoneNumber, ?int $menuId): bool
|
||||
{
|
||||
// Allow null to clear current_menu_id
|
||||
return $this->updateStateData($phoneNumber, ['current_menu_id' => $menuId]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user