From 89dfec9e396440b571bdfb908932d77fc7c0506f Mon Sep 17 00:00:00 2001 From: Yusuf Kandemir Date: Sun, 11 Nov 2018 22:49:31 +0300 Subject: [PATCH] Small fix --- src/MicrodataParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MicrodataParser.php b/src/MicrodataParser.php index d1c5486..effd4c5 100644 --- a/src/MicrodataParser.php +++ b/src/MicrodataParser.php @@ -33,7 +33,7 @@ class MicrodataParser $memory[] = $item; - $result->type = $this->tokenizeAttribute('itemtype'); + $result->type = $item->tokenizeAttribute('itemtype'); // @todo Check if types are valid absolute urls if ($item->hasAttribute('itemid')) {