Skip to content

Commit

Permalink
Update stub
Browse files Browse the repository at this point in the history
  • Loading branch information
whatUwant committed Feb 22, 2022
1 parent 0b24b07 commit 40cc346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stubs/Php81.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace {
public static function cases(): array;
}

interface BackedEnum
interface BackedEnum extends UnitEnum
{
public readonly int|string $value;

Expand Down
2 changes: 1 addition & 1 deletion tests/EnumTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ enum Status: int {
[],
'8.1',
],
'PHP81-InterfacesWithProperties' => [
'InterfacesWithProperties' => [
'<?php
static fn (\UnitEnum $tag): string => $tag->name;
Expand Down

0 comments on commit 40cc346

Please sign in to comment.