• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image Manipulation: "fit()" returns bool in PHPDoc

#1
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.