Fix style

This commit is contained in:
eai04191 committed 2019-03-12 03:38:05 +09:00
1 parent ec5a78db38
commit 3fa2d80507
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ class FC2ContentsResolver implements Resolver
$thumbnailNode = $xpath->query('//*[@class="main_thum_img"]/a')->item(0);
if ($thumbnailNode) {
$metadata->image = preg_replace('~^http:~', "https:", $thumbnailNode->getAttribute('href'));
$metadata->image = preg_replace('~^http:~', 'https:', $thumbnailNode->getAttribute('href'));
}
return $metadata;