We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1963555 + a2dd797 commit 2c0e112Copy full SHA for 2c0e112
src/Providers/OEmbed/Youtube.php
@@ -21,7 +21,7 @@ public static function create(Adapter $adapter)
21
// The Adapter URL should be forced to starting URL as well
22
// to prevent consumers of the packages having to deal
23
// with a URL to a consent page (#441)
24
- $adapter->url = $response->getStartingUrl();
+ $adapter->url = (string) $response->getStartingUrl();
25
return new static($response, $response->getStartingUrl());
26
}
27
0 commit comments