Closed barryvdh closed 6 years ago
Otherwise the count() in Document will fail. This will make sure that $attributes is an array as expected, before initialized.
count()
if (count($this->attributes)) { $tag = new Group($this, $name); }
Sorry, duplicate of https://github.com/PhenX/php-svg-lib/pull/27
Otherwise the
count()
in Document will fail. This will make sure that $attributes is an array as expected, before initialized.