![]() |
Image Manipulation: "fit()" returns bool in PHPDoc - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Image Manipulation: "fit()" returns bool in PHPDoc (/showthread.php?tid=75030) |
Image Manipulation: "fit()" returns bool in PHPDoc - RedskyThirty - 12-11-2019 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/libraries/images.html#id2 (Processing an Image) |