Skip to content

Commit c14275a

Browse files
committed
fix: correct variable usage for extractor in AuthorUrl class
1 parent 783e7c2 commit c14275a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Adapters/Gist/Detectors/AuthorUrl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function detect(): ?UriInterface
1717
$owner = $api->str('owner');
1818

1919
if ($owner !== null) {
20-
return $this->extractor->getCrawler()->createUri("https://github.com/{$owner}");
20+
return $extractor->getCrawler()->createUri("https://github.com/{$owner}");
2121
}
2222

2323
return parent::detect();

src/Adapters/ImageShack/Detectors/AuthorUrl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function detect(): ?UriInterface
1717
$owner = $api->str('owner', 'username');
1818

1919
if ($owner !== null) {
20-
return $this->extractor->getCrawler()->createUri("https://imageshack.com/{$owner}");
20+
return $extractor->getCrawler()->createUri("https://imageshack.com/{$owner}");
2121
}
2222

2323
return parent::detect();

src/Adapters/Twitter/Detectors/AuthorUrl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function detect(): ?UriInterface
1717
$username = $api->str('includes', 'users', '0', 'username');
1818

1919
if ($username !== null) {
20-
return $this->extractor->getCrawler()->createUri("https://twitter.com/{$username}");
20+
return $extractor->getCrawler()->createUri("https://twitter.com/{$username}");
2121
}
2222

2323
return parent::detect();

0 commit comments

Comments
 (0)