fix style

This commit is contained in:
shibafu 2019-03-10 18:52:03 +09:00
parent b29bb23b40
commit cf0d370e61

View File

@ -32,7 +32,7 @@ class PlurkResolver implements Resolver
$xpath = new \DOMXPath($dom); $xpath = new \DOMXPath($dom);
$imageNode = $xpath->query('//div[@class="text_holder"]/a[1]')->item(0); $imageNode = $xpath->query('//div[@class="text_holder"]/a[1]')->item(0);
if($imageNode) { if ($imageNode) {
$metadata->image = $imageNode->getAttribute('href'); $metadata->image = $imageNode->getAttribute('href');
} }