dompdf / php-svg-lib

SVG file parsing / rendering library
GNU Lesser General Public License v3.0
1.4k stars 77 forks source link

declaring and initializing variable attributes #34

Closed ffgalvao closed 6 years ago

ffgalvao commented 6 years ago

on php7.2 was returning the error "count(): Parameter must be an array or an object that implements Countable" file: phenx/php-svg-lib/src/Svg/Document.php line: 259

Reason: Variable $this->attributes wasn't declared and Php was reading count(null)