diff --git a/src/Traits/DomDocumentBuilder.php b/src/Traits/DomDocumentBuilder.php index d4d7378..3eeebfc 100644 --- a/src/Traits/DomDocumentBuilder.php +++ b/src/Traits/DomDocumentBuilder.php @@ -245,7 +245,7 @@ protected function createValidTagNameFromNumericValue($name) } if ($this->getNumericTagSuffix() !== null) { - $name = $name . (string)$this->getNumericTagSuffix() . $key; + $name = $name.(string) $this->getNumericTagSuffix().$key; } return $name; }