Skip to content

Commit

Permalink
Fixed typo in class name
Browse files Browse the repository at this point in the history
  • Loading branch information
unreal4u authored Jun 22, 2017
1 parent 42e371e commit 7e09d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Telegram/Types/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ protected function mapSubObjects(string $key, array $data): TelegramTypes
case 'invoice':
return new Invoice($data, $this->logger);
case 'successful_payment':
return new SuccessFulPayment($data, $this->logger);
return new SuccessfulPayment($data, $this->logger);
}

// Return always null if none of the objects above matches
Expand Down

0 comments on commit 7e09d7d

Please sign in to comment.