Skip to content

Commit ba23283

Browse files
committed
Add PHPDoc type
1 parent d05e42c commit ba23283

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
@@ -4,11 +4,13 @@ interface BackedEnum extends UnitEnum
44
{
55
/**
66
* @pure
7+
* @return static
78
*/
89
public static function from(int|string $value): static;
910

1011
/**
1112
* @pure
13+
* @return ?static
1214
*/
1315
public static function tryFrom(int|string $value): ?static;
1416
}

0 commit comments

Comments
 (0)