Style fix
This commit is contained in:
parent
2225011252
commit
7c3700e8cf
@ -11,7 +11,8 @@ class MicrodataParserTest extends \PHPUnit\Framework\TestCase
|
|||||||
libxml_use_internal_errors(true); // Ignore warnings of DOMDocument::loadHTML check
|
libxml_use_internal_errors(true); // Ignore warnings of DOMDocument::loadHTML check
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getParser($data) {
|
protected function getParser($data)
|
||||||
|
{
|
||||||
$dom = new \DOMDocument;
|
$dom = new \DOMDocument;
|
||||||
$dom->loadHTML($data['source']);
|
$dom->loadHTML($data['source']);
|
||||||
$dom->documentURI = $data['uri'];
|
$dom->documentURI = $data['uri'];
|
||||||
|
Loading…
Reference in New Issue
Block a user