issues
search
claviska
/
SimpleImage
A PHP class that makes working with images and GD as simple as possible.
MIT License
1.38k
stars
382
forks
source link
convert falsy values of $exif to null
#324
Closed
rasteiner
closed
1 year ago
rasteiner
commented
1 year ago
fix #323
two things changed:
Initialized the $exif field to
null
, just to get rid of the coalescing operator: the value is now "always set".
return
null
when the value is "falsy":
false
and
[]
are therefore converted to
null
, respecting the function's return type.
fix #323
two things changed:
null
, just to get rid of the coalescing operator: the value is now "always set".null
when the value is "falsy":false
and[]
are therefore converted tonull
, respecting the function's return type.