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

Commit 82f756b

Browse files
authored
Improved PhpDoc
1 parent 64c079a commit 82f756b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Enum/Enum.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function __construct($memberName)
5656
*
5757
* @param string $memberName enum key
5858
* @param array $args ignored
59-
* @return self
59+
* @return static
6060
*/
6161
public static function __callStatic($memberName, array $args)
6262
{
@@ -153,7 +153,7 @@ private function get($memberName)
153153

154154
/**
155155
* @param mixed $value
156-
* @return self
156+
* @return static
157157
* @throws EnumNotFoundException
158158
*/
159159
public static function getEnumByValue($value)

0 commit comments

Comments
 (0)