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:
parent
dbcfe62c52
commit
e4b0343f76
@ -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,
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user