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

Commit 8c26b4f

Browse files
committed
Update README.md
1 parent 432985d commit 8c26b4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ Enumerated type for PHP by [Petr Knap].
2323
*/
2424
class DayOfWeekEnum extends \PetrKnap\Php\Enum\AbstractEnum
2525
{
26-
protected function __construct($constantName)
26+
protected function __construct($memberName)
2727
{
28-
self::setConstants([
28+
self::setMembers([
2929
"SUNDAY" => 0,
3030
"MONDAY" => 1,
3131
"TUESDAY" => 2,
@@ -34,7 +34,7 @@ class DayOfWeekEnum extends \PetrKnap\Php\Enum\AbstractEnum
3434
"FRIDAY" => 5,
3535
"SATURDAY" => 6
3636
]);
37-
parent::__construct($constantName);
37+
parent::__construct($memberName);
3838
}
3939
}
4040
```

0 commit comments

Comments
 (0)