You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some functions (pgsql) converted from resource to object. However, the conditional typing is somehow broken for some functions. For me: pg_escape_literal and pg_escape_identifier, maybe others. I expect this is broken by some wrong type processing/evaluation, because the proper typing is present in PHPStorm stubs.
Bug report
Some functions (pgsql) converted from resource to object. However, the conditional typing is somehow broken for some functions. For me:
pg_escape_literal
andpg_escape_identifier
, maybe others. I expect this is broken by some wrong type processing/evaluation, because the proper typing is present in PHPStorm stubs.Code snippet that reproduces the problem
https://phpstan.org/r/11f31e1b-3464-4480-a43b-7a0b590b094a
Expected output
No error.
The text was updated successfully, but these errors were encountered: