Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly cast the thumbnail dimensions into int
The requested dimensions could be a result of a calculation that yields float values. `Imagick::thumbnailImage()` expects integers and will throw in PHP 8.1+ if it cannot safely cast them to int.
- Loading branch information