Skip to content

Commit 4784ed1

Browse files
committed
One does not simply return yet
1 parent 5daf355 commit 4784ed1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Chat/Plugin/Tweet.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ private function execute(Message $message): \Generator {
6161
return;
6262
}
6363

64-
yield from $this->chatClient->postMessage($tweetText);
65-
66-
return;
67-
6864
$oauthParameters = [
6965
"oauth_consumer_key" => $this->credentials->getConsumerKey(),
7066
"oauth_token" => $this->credentials->getAccessToken(),

0 commit comments

Comments
 (0)