diff --git a/src/Detectors/AuthorUrl.php b/src/Detectors/AuthorUrl.php index 7a5e7108..fe1b564c 100644 --- a/src/Detectors/AuthorUrl.php +++ b/src/Detectors/AuthorUrl.php @@ -15,7 +15,7 @@ public function detect(): ?UriInterface ?: $this->detectFromTwitter(); } - private function detectFromTwitter(): ?UriINterface + private function detectFromTwitter(): ?UriInterface { $metas = $this->extractor->getMetas(); $crawler = $this->extractor->getCrawler(); diff --git a/src/Extractor.php b/src/Extractor.php index 9e48c2cf..b3730e27 100644 --- a/src/Extractor.php +++ b/src/Extractor.php @@ -3,6 +3,7 @@ namespace Embed; +use DateTime; use DomainException; use Embed\Detectors\AuthorName; use Embed\Detectors\AuthorUrl; @@ -32,6 +33,26 @@ /** * Class to extract the info + * + * @property-read string|null $authorName + * @property-read UriInterface|null $authorUrl + * @property-read string|null $cms + * @property-read EmbedCode|null $code + * @property-read string|null $description + * @property-read UriInterface $favicon + * @property-read array|UriInterface[] $feeds + * @property-read UriInterface|null $icon + * @property-read UriInterface|null $image + * @property-read array|string[] $keywords + * @property-read string|null $language + * @property-read array|UriInterface[] $languages + * @property-read string|null $license + * @property-read string $providerName + * @property-read UriInterface $providerUrl + * @property-read DateTime|null $publishedTime + * @property-read UriInterface|null $redirect + * @property-read string|null $title + * @property-read UriInterface $url */ class Extractor {