Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
slischka committed May 27, 2021
1 parent 0399cb4 commit 4dd1f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Enum.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public static function isValidValue(
$value
): bool
{
return \in_array($value, self::getAvailableValues(), true);
return \in_array($value, static::getAvailableValues(), true);
}

protected function checkSameEnum(
Expand Down

0 comments on commit 4dd1f44

Please sign in to comment.