Style fix

This commit is contained in:
Yusuf Kandemir 2018-11-12 11:31:45 +03:00
parent 2225011252
commit 7c3700e8cf
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ class MicrodataParserTest extends \PHPUnit\Framework\TestCase
libxml_use_internal_errors(true); // Ignore warnings of DOMDocument::loadHTML check
}
protected function getParser($data) {
protected function getParser($data)
{
$dom = new \DOMDocument;
$dom->loadHTML($data['source']);
$dom->documentURI = $data['uri'];