Closed mehr-it closed 4 years ago
Hey @mehr-it, thank you for the reporting! Could you please submit a PR to fix the issue? I'm a bit busy at the moment so i don't have direct time to fix the issue.
@mehr-it i just released v2.2.1 which includes a fix for this.
The last line of the
getByName()
method returnsnull
if the image does not exist. Butnull
is not allowed by the method's return type.Images.php: