Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed May 10, 2024
1 parent 0573a43 commit 44348a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -1602,11 +1602,6 @@ parameters:
count: 4
path: src/Type/TypeCombinator.php

-
message: "#^Doing instanceof PHPStan\\\\Type\\\\Enum\\\\EnumCaseObjectType is error\\-prone and deprecated\\. Use Type\\:\\:getEnumCases\\(\\) instead\\.$#"
count: 1
path: src/Type/TypeCombinator.php

-
message: "#^Doing instanceof PHPStan\\\\Type\\\\FloatType is error\\-prone and deprecated\\. Use Type\\:\\:isFloat\\(\\) instead\\.$#"
count: 1
Expand Down
4 changes: 1 addition & 3 deletions src/Type/ObjectType.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ class ObjectType implements TypeWithClassName, SubtractableType

private ?string $cachedDescription = null;

/**
* @var array<class-string, EnumCaseReflection>
*/
/** @var array<class-string, EnumCaseObjectType> */
private static array $enumCasesCache = [];

/** @api */
Expand Down

0 comments on commit 44348a0

Please sign in to comment.