mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
cs-fix
This commit is contained in:
parent
9684be9d73
commit
4b00095b31
@ -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…
x
Reference in New Issue
Block a user