-
Notifications
You must be signed in to change notification settings - Fork 313
Closed
Description
The method save
takes an $image_type
argument, which according to its phpdoc accepts a string. However the code expects it to be one of IMAGETYPE_*
constants, which are integers. This causes static analyzers like PHPStan or Psalm to flag correct usage as erroneous. The fix is to simply update the phpdoc.
peter279k
Metadata
Metadata
Assignees
Labels
No labels