Welcome Guest, Not a member yet? Register   Sign In
Image Manipulation: "fit()" returns bool in PHPDoc
#1

(This post was last modified: 12-12-2019, 01:51 AM by RedskyThirty.)

Hello,

There is a mistake in the class "Images\Handlers\BaseHandler", method "fill()".
The method doesn't return a boolean but "BaseHandler" or "$this". My IDE shows an error because of that and without taking a look in the rest of the script, I thought chaining couldn't work as it's described in the documentation.

Doc: https://codeigniter4.github.io/userguide...s.html#id2 (Processing an Image)
Reply




Theme © iAndrew 2016 - Forum software by © MyBB