Skip to content

Commit add2432

Browse files
committed
Reverted last commit as it was not compatible with EmulatedBackedEnumTrait
1 parent 5f47161 commit add2432

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/php80/EmulatedIntEnum.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ abstract class EmulatedIntEnum implements BackedEnum
2323
/**
2424
* The value of the current case
2525
*
26+
* @var int
2627
* @readonly
2728
*/
28-
public int $value;
29+
public $value;
2930

3031
/**
3132
* @param int $value

src/php80/EmulatedStringEnum.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ abstract class EmulatedStringEnum implements BackedEnum
2020
/**
2121
* The value of the current case
2222
*
23+
* @var string
2324
* @readonly
2425
*/
25-
public string $value;
26+
public $value;
2627

2728
/**
2829
* @param string $value

0 commit comments

Comments
 (0)