Style fix

This commit is contained in:
Yusuf Kandemir 2018-11-12 11:31:45 +03:00
parent 2225011252
commit 7c3700e8cf

View File

@ -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'];