Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit fab34dc

Browse files
author
Petr Knap
committed
AbstractEnum 1.0.1
2 parents b614f6d + 19019d1 commit fab34dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Enum/AbstractEnum.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @author Petr Knap <dev@petrknap.cz>
99
* @since 2016-01-23
1010
* @package PetrKnap\Php\Enum
11-
* @version 1.0
11+
* @version 1.0.1
1212
* @license https://github.com/petrknap/php-enum/blob/master/LICENSE MIT
1313
*/
1414
abstract class AbstractEnum
@@ -37,7 +37,7 @@ abstract class AbstractEnum
3737
* @param string $memberName
3838
* @throws EnumException
3939
*/
40-
private function __construct($memberName)
40+
protected function __construct($memberName)
4141
{
4242
$members = &self::$members[get_called_class()];
4343

0 commit comments

Comments
 (0)