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

This commit is contained in:
eai04191 2019-09-10 07:33:29 +09:00
parent 033784bfc8
commit ccade6ff9f
1 changed files with 1 additions and 2 deletions

View File

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