Reformat time!

This commit is contained in:
shibafu
2019-01-19 03:02:37 +09:00
parent a30919991c
commit 56831c78c3
9 changed files with 20 additions and 20 deletions

View File

@@ -25,7 +25,7 @@ class FantiaResolver implements Resolver
$ogpUrl = $node->getAttribute('content');
// 投稿に画像がない場合ogp.jpgでない場合のみ大きい画像に変換する
if ($ogpUrl != "http://fantia.jp/images/ogp.jpg") {
if ($ogpUrl != 'http://fantia.jp/images/ogp.jpg') {
preg_match("~https://fantia\.s3\.amazonaws\.com/uploads/post/file/{$postId}/ogp_(.*?)\.(jpg|png)~", $ogpUrl, $match);
$uuid = $match[1];
$extension = $match[2];