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
Psalm output (using commit cccfe75):
ERROR: InvalidArgument - 10:27 - Argument 1 of imagejpeg expects GdImage, resource provided
ERROR: InvalidArgument - 10:35 - Argument 2 of imagejpeg expects null, null|resource|string provided
ERROR: InvalidReturnStatement - 10:16 - The inferred type 'false|string' does not match the declared return type 'bool' for Image::jpeg
ERROR: InvalidReturnType - 9:75 - The declared return type 'bool' for Image::jpeg is incorrect, got 'false|string'
file
The path or an open stream resource (which is automatically being closed after this function returns) to save the file to. If not set or null, the raw image stream will be outputted directly.
The return type of the
imagejpeg
function isbool
notfalse|string
.https://psalm.dev/r/79c592fb26
The text was updated successfully, but these errors were encountered: