Skip to content

Commit e0afa6c

Browse files
committed
Add PHPDoc type
1 parent d05e42c commit e0afa6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stubs/BackedEnum.stub

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
interface BackedEnum extends UnitEnum
44
{
55
/**
6+
* @return static
67
* @pure
78
*/
89
public static function from(int|string $value): static;
910

1011
/**
12+
* @return ?static
1113
* @pure
1214
*/
1315
public static function tryFrom(int|string $value): ?static;

0 commit comments

Comments
 (0)