Skip to content

Commit

Permalink
Merge pull request #6 from maxermolenko/fix-compatibility
Browse files Browse the repository at this point in the history
Fix compatibility
  • Loading branch information
maxermolenko committed Oct 10, 2022
2 parents dc7538e + 04bc989 commit 286817e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ If you have [GNU Make](https://www.gnu.org/software/make/) installed, you can us
* [Bug Tracker](http://github.com/saritasa/php-common/issues)
* [Code](http://github.com/saritasa/php-common)
* [Changes History](CHANGES.md)
* [Authors](http://github.com/saritasa/php-common/contributors)
* [Authors](http://github.com/saritasa/php-common/contributors)
2 changes: 1 addition & 1 deletion src/Enum.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function __toString()
return (string)$this->value;
}

public function jsonSerialize()
public function jsonSerialize(): mixed
{
return $this->__toString();
}
Expand Down

0 comments on commit 286817e

Please sign in to comment.