Skip to content

Commit

Permalink
Merge pull request #33 from danepowell/php-8.1
Browse files Browse the repository at this point in the history
Fix PHP 8.1 warnings
  • Loading branch information
jonyo authored May 9, 2022
2 parents d6d163b + 10bf34d commit c0d14d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
],
"require": {
"ext-curl": "*",
"ext-json": "*",
"php": ">=7.2",
"psr/log": "^1.0 | ^2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public function toArray()
*
* @return array
*/
public function jsonSerialize()
public function jsonSerialize(): array
{
return $this->data;
}
Expand Down

0 comments on commit c0d14d5

Please sign in to comment.