From 0b32cb93a781c0c8ba8a93e7113de5175f5d39d4 Mon Sep 17 00:00:00 2001 From: Matt Brown Date: Sun, 8 Nov 2020 14:22:21 -0500 Subject: [PATCH] Add ReflectionUnionType stub --- stubs/Php80.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stubs/Php80.php b/stubs/Php80.php index 1f5c28c0b..b0f43c1c6 100644 --- a/stubs/Php80.php +++ b/stubs/Php80.php @@ -65,3 +65,10 @@ class Attribute { } } + +class ReflectionUnionType extends ReflectionType { + /** + * @return non-empty-list + */ + public function getTypes() {} +}