From 0574e06a42d1ef4517ca8393cf594544dc96ef65 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Sun, 27 Jan 2019 18:31:40 -0500 Subject: [PATCH] Remove 7.0-incompatible type --- src/Psalm/Codebase.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Psalm/Codebase.php b/src/Psalm/Codebase.php index 33a6b1264..1df1e65b3 100644 --- a/src/Psalm/Codebase.php +++ b/src/Psalm/Codebase.php @@ -416,7 +416,10 @@ class Codebase } } - public static function getPsalmTypeFromReflection(?\ReflectionType $type) : Type\Union + /** + * @param ?\ReflectionType $type + */ + public static function getPsalmTypeFromReflection($type) : Type\Union { return \Psalm\Internal\Codebase\Reflection::getPsalmTypeFromReflectionType($type); }