怒られたので直した(小学生並みの感想)

This commit is contained in:
eai04191 2019-09-10 07:33:29 +09:00
parent 033784bfc8
commit ccade6ff9f

View File

@ -18,8 +18,7 @@ class OGPResolver implements Resolver, Parser
public function resolve(string $url): Metadata public function resolve(string $url): Metadata
{ {
$res = $this->client->get($url); return $this->parse($this->client->get($url)->getBody());
return $this->parse($res->getBody());
} }
public function parse(string $html): Metadata public function parse(string $html): Metadata