We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf2692b commit f30006fCopy full SHA for f30006f
src/Enum.php
@@ -60,7 +60,7 @@ abstract class Enum
60
* @param null|bool|int|float|string|array<mixed> $value The value of the enumerator
61
* @param int|null $ordinal The ordinal number of the enumerator
62
*/
63
- private function __construct($value, $ordinal = null)
+ final private function __construct($value, $ordinal = null)
64
{
65
$this->value = $value;
66
$this->ordinal = $ordinal;
0 commit comments