怒られたので直した(小学生並みの感想)
This commit is contained in:
1 parent
033784bfc8
commit
ccade6ff9f
1 file changed
+1
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user