Skip to content

Commit 6a61014

Browse files
authored
Merge pull request #1341 from TaProhm/develop
Nullable return type for the getLastUpdateId() method
2 parents f3fe5ed + 847305f commit 6a61014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Telegram.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,9 +1255,9 @@ public function useGetUpdatesWithoutDatabase(bool $enable = true): Telegram
12551255
/**
12561256
* Return last update id
12571257
*
1258-
* @return int
1258+
* @return int|null
12591259
*/
1260-
public function getLastUpdateId(): int
1260+
public function getLastUpdateId(): ?int
12611261
{
12621262
return $this->last_update_id;
12631263
}

0 commit comments

Comments
 (0)