Skip to content

Commit

Permalink
Fix deprecation (#9)
Browse files Browse the repository at this point in the history
Authored by: Roy <rdmartines@vcn.nl>
  • Loading branch information
sudo-plz committed Feb 4, 2022
1 parent a2abb16 commit 3b6b806
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
},

"require": {
"php": "^7.4|^8.0",
"php": "^8.0",
"ext-json": "*"
},

"require-dev": {
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^1.2"
"phpstan/phpstan": "^1.4"
}
}
2 changes: 1 addition & 1 deletion src/Enum.php
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ public function __toString(): string
/**
* @inheritdoc
*/
public function jsonSerialize()
public function jsonSerialize(): mixed
{
return $this->getName();
}
Expand Down

0 comments on commit 3b6b806

Please sign in to comment.