怒られたので直した(小学生並みの感想)
This commit is contained in:
parent
033784bfc8
commit
ccade6ff9f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user