Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 7e09d7d

Browse files
authored
Fixed typo in class name
1 parent 42e371e commit 7e09d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Telegram/Types/Message.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ protected function mapSubObjects(string $key, array $data): TelegramTypes
310310
case 'invoice':
311311
return new Invoice($data, $this->logger);
312312
case 'successful_payment':
313-
return new SuccessFulPayment($data, $this->logger);
313+
return new SuccessfulPayment($data, $this->logger);
314314
}
315315

316316
// Return always null if none of the objects above matches

0 commit comments

Comments
 (0)