From df8f2085f0adcc907ad2dc26a4231310444fb1f1 Mon Sep 17 00:00:00 2001 From: Brown Date: Tue, 14 Jan 2020 18:39:15 -0500 Subject: [PATCH] Change constant type to be more forgiving --- src/Psalm/Internal/CallMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/CallMap.php b/src/Psalm/Internal/CallMap.php index b6b52f7494a..db04085aec0 100644 --- a/src/Psalm/Internal/CallMap.php +++ b/src/Psalm/Internal/CallMap.php @@ -1191,7 +1191,7 @@ 'connection_aborted' => ['int'], 'connection_status' => ['int'], 'connection_timeout' => ['int'], -'constant' => ['scalar|array|null', 'const_name'=>'string'], +'constant' => ['mixed', 'const_name'=>'string'], 'convert_cyr_string' => ['string', 'str'=>'string', 'from'=>'string', 'to'=>'string'], 'convert_uudecode' => ['string', 'data'=>'string'], 'convert_uuencode' => ['string', 'data'=>'string'],