From 9b2ceba2db40be4a6dade0632c7b51ab8605b0df Mon Sep 17 00:00:00 2001 From: SignpostMarv Date: Sat, 11 Jan 2020 21:00:38 +0000 Subject: [PATCH] removing trailing comma in function call, not detectable by php-cs-fixer re: FriendsOfPHP/PHP-CS-Fixer#4135 (#2597) --- .../ReturnTypeProvider/ArrayFilterReturnTypeProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Provider/ReturnTypeProvider/ArrayFilterReturnTypeProvider.php b/src/Psalm/Internal/Provider/ReturnTypeProvider/ArrayFilterReturnTypeProvider.php index 7eb395814..15e006802 100644 --- a/src/Psalm/Internal/Provider/ReturnTypeProvider/ArrayFilterReturnTypeProvider.php +++ b/src/Psalm/Internal/Provider/ReturnTypeProvider/ArrayFilterReturnTypeProvider.php @@ -84,7 +84,7 @@ class ArrayFilterReturnTypeProvider implements \Psalm\Plugin\Hook\FunctionReturn ) { return new Type\Union([ new Type\Atomic\TList( - $inner_type, + $inner_type ), ]); }