Skip to content

Commit

Permalink
Add missing return type
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Feb 25, 2023
1 parent 098bfcf commit ee4f3b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exception/ApiException.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

final class ApiException extends Exception
{
public function __toString()
public function __toString(): string
{
return $this->getCode().': '.$this->getMessage();
}
Expand Down

0 comments on commit ee4f3b7

Please sign in to comment.