darylldoyle / svg-sanitizer

A PHP SVG/XML Sanitizer
GNU General Public License v2.0
454 stars 67 forks source link

Fix return typehint for sanitize #86

Closed norkunas closed 1 year ago

norkunas commented 1 year ago

Based on comment in source:

If we couldn't parse the XML then we go no further. Reset and return false