Some formatting

This commit is contained in:
Yusuf Kandemir 2018-11-11 22:55:36 +03:00
parent 7bba0cbaa6
commit 9dd85c1e5b

View File

@ -134,10 +134,11 @@ class MicrodataDOMElement extends \DOMElement
return $childNodes;
}
public function tokenizeAttribute($attributeName) {
public function tokenizeAttribute($attributeName)
{
$attribute = [];
if($this->hasAttribute($attributeName)) {
if ($this->hasAttribute($attributeName)) {
$attribute = $this->tokenize($this->getAttribute($attributeName));
}