mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
removing trailing comma in function call, not detectable by php-cs-fixer re: FriendsOfPHP/PHP-CS-Fixer#4135 (#2597)
This commit is contained in:
parent
39f0def7bf
commit
9b2ceba2db
@ -84,7 +84,7 @@ class ArrayFilterReturnTypeProvider implements \Psalm\Plugin\Hook\FunctionReturn
|
|||||||
) {
|
) {
|
||||||
return new Type\Union([
|
return new Type\Union([
|
||||||
new Type\Atomic\TList(
|
new Type\Atomic\TList(
|
||||||
$inner_type,
|
$inner_type
|
||||||
),
|
),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user