diff --git a/stubs/Php81.phpstub b/stubs/Php81.phpstub index 97dd281e1d2..d3398388de4 100644 --- a/stubs/Php81.phpstub +++ b/stubs/Php81.phpstub @@ -56,6 +56,13 @@ namespace { */ public function getBackingValue(): int|string; } + + class ReflectionIntersectionType extends ReflectionType { + /** + * @return non-empty-list + */ + public function getTypes() {} + } } namespace FTP {