Skip to content

Commit

Permalink
Merge pull request #123 from DJTommek/master
Browse files Browse the repository at this point in the history
Fixed return type for AnswerInlineQuery::getResults
  • Loading branch information
unreal4u authored Aug 3, 2020
2 parents 4dcabcc + 5d8303d commit 3436f3b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Telegram/Methods/AnswerInlineQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,12 @@ public function addResult(Result $result): AnswerInlineQuery
return $this;
}

public function getResults(): string
/**
* Use this method to get list of added results
*
* @return AnswerInlineQuery[]
*/
public function getResults(): array
{
return $this->results;
}
Expand Down

0 comments on commit 3436f3b

Please sign in to comment.