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 75aa56b commit 9308823Copy full SHA for 9308823
src/MabeEnum/Enum.php
@@ -47,7 +47,7 @@ abstract class Enum
47
* @throws InvalidArgumentException On an unknwon or invalid value
48
* @throws LogicException On ambiguous constant values
49
*/
50
- final private function __construct($value, $ordinal = null)
+ private function __construct($value, $ordinal = null)
51
{
52
$this->value = $value;
53
$this->ordinal = $ordinal;
@@ -67,7 +67,7 @@ final public function __toString()
67
* @throws LogicException Enums are not cloneable
68
* because instances are implemented as singletons
69
70
- final private function __clone()
+ private function __clone()
71
72
throw new LogicException('Enums are not cloneable');
73
}
0 commit comments