Skip to content

Commit 2aeec6b

Browse files
committed
fix api return type
1 parent 4d36831 commit 2aeec6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adapters/Twitter/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ protected function fetchData(): array
1515
$token = $this->extractor->getSetting('twitter:token');
1616

1717
if (!$token) {
18-
return null;
18+
return [];
1919
}
2020

2121
$uri = $this->extractor->getUri();

0 commit comments

Comments
 (0)