diff --git a/app/MetadataResolver/FC2ContentsResolver.php b/app/MetadataResolver/FC2ContentsResolver.php index 76497ee..36a3b8b 100644 --- a/app/MetadataResolver/FC2ContentsResolver.php +++ b/app/MetadataResolver/FC2ContentsResolver.php @@ -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;