1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Fix PHPCS trailing comma

This commit is contained in:
Theodore Brown 2022-12-28 09:35:34 -06:00 committed by GitHub
parent dbcfe62c52
commit e4b0343f76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -614,7 +614,7 @@ class VariableFetchAnalyzer
if ($var_id === '$http_response_header') { if ($var_id === '$http_response_header') {
// $http_response_header exists only in the local scope after a successful network request // $http_response_header exists only in the local scope after a successful network request
return new Union([ return new Union([
Type::getNonEmptyListAtomic(Type::getNonFalsyString()) Type::getNonEmptyListAtomic(Type::getNonFalsyString()),
], [ ], [
'possibly_undefined' => true, 'possibly_undefined' => true,
]); ]);