Skip to content

Commit

Permalink
PHP 8.1 deprecation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypkhantc committed Feb 9, 2022
1 parent b2df8b5 commit 908ba81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utilities/AbstractResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public function toJson($options = 0)
*
* @return array
*/
public function jsonSerialize()
public function jsonSerialize(): array
{
return $this->toArray();
}
Expand Down

0 comments on commit 908ba81

Please sign in to comment.