There is no such thing as ReflectionEnumPureCase

This commit is contained in:
Ondrej Mirtes 2023-11-19 14:14:51 +01:00 committed by Ivan Fedorov
parent a846e0e432
commit 9e181bd11f
3 changed files with 1 additions and 9 deletions

View File

@ -847,7 +847,6 @@ const CLASSES = array (
'ReflectionClassConstant' => 'Reflection/ReflectionClassConstant.php',
'ReflectionEnum' => 'Reflection/ReflectionEnum.php',
'ReflectionEnumBackedCase' => 'Reflection/ReflectionEnumBackedCase.php',
'ReflectionEnumPureCase' => 'Reflection/ReflectionEnumPureCase.php',
'ReflectionEnumUnitCase' => 'Reflection/ReflectionEnumUnitCase.php',
'ReflectionException' => 'Reflection/ReflectionException.php',
'ReflectionExtension' => 'Reflection/ReflectionExtension.php',

View File

@ -17,7 +17,7 @@ class ReflectionEnum extends ReflectionClass
public function hasCase(string $name): bool {}
/**
* @return ReflectionEnumPureCase[]|ReflectionEnumBackedCase[]
* @return ReflectionEnumUnitCase[]|ReflectionEnumBackedCase[]
*/
public function getCases(): array {}

View File

@ -1,7 +0,0 @@
<?php
/**
* @link https://php.net/manual/en/class.reflectionenumpurecase.php
* @since 8.1
*/
class ReflectionEnumPureCase extends ReflectionClassConstant {}