From 40cc346991eb31596013de2987f3a893a3790e48 Mon Sep 17 00:00:00 2001 From: Bei Xiao Date: Wed, 23 Feb 2022 00:52:53 +0200 Subject: [PATCH] Update stub --- stubs/Php81.phpstub | 2 +- tests/EnumTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/Php81.phpstub b/stubs/Php81.phpstub index d3398388de4..694e4e9ce72 100644 --- a/stubs/Php81.phpstub +++ b/stubs/Php81.phpstub @@ -11,7 +11,7 @@ namespace { public static function cases(): array; } - interface BackedEnum + interface BackedEnum extends UnitEnum { public readonly int|string $value; diff --git a/tests/EnumTest.php b/tests/EnumTest.php index 080e4ca5077..7b4aa17f32d 100644 --- a/tests/EnumTest.php +++ b/tests/EnumTest.php @@ -371,7 +371,7 @@ enum Status: int { [], '8.1', ], - 'PHP81-InterfacesWithProperties' => [ + 'InterfacesWithProperties' => [ ' $tag->name;