fix style

This commit is contained in:
shibafu 2019-03-08 23:02:24 +09:00
parent a2f0beb3cb
commit 61498133d5

View File

@ -27,7 +27,7 @@ class FanzaResolver implements Resolver
if ($res->getStatusCode() === 200) { if ($res->getStatusCode() === 200) {
$metadata = $this->ogpResolver->parse($res->getBody()); $metadata = $this->ogpResolver->parse($res->getBody());
$metadata->image = preg_replace("~(pr|ps)\.jpg$~", 'pl.jpg', $metadata->image); $metadata->image = preg_replace("~(pr|ps)\.jpg$~", 'pl.jpg', $metadata->image);
$metadata->description = str_replace('<>', "", $metadata->description); $metadata->description = str_replace('<>', '', $metadata->description);
return $metadata; return $metadata;
} else { } else {