We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc1a6c9 commit 22de3ccCopy full SHA for 22de3cc
src/Adapters/Facebook/OEmbed.php
@@ -16,7 +16,7 @@ protected function detectEndpoint(): ?UriInterface
16
{
17
$token = $this->extractor->getSetting('facebook:token');
18
19
- if ($token === null || $token === '' || $token === false) {
+ if (!is_string($token) || $token === '') {
20
return null;
21
}
22
src/Adapters/Instagram/OEmbed.php
@@ -14,7 +14,7 @@ protected function detectEndpoint(): ?UriInterface
14
15
$token = $this->extractor->getSetting('instagram:token');
0 commit comments