Skip to content

Commit

Permalink
Merge pull request #113 from spatie/php81
Browse files Browse the repository at this point in the history
change attribute
  • Loading branch information
Nielsvanpach authored Nov 25, 2021
2 parents cb1f818 + d1c3f81 commit 4afe5f0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Enum.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,7 @@ private static function arrayHasDuplicates(array $array): bool
return count($array) > count(array_unique($array));
}

/**
* @return int|string
* #[\ReturnTypeWillChange]
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return $this->value;
Expand Down

0 comments on commit 4afe5f0

Please sign in to comment.