@@ -53,7 +53,7 @@ protected function tearDown(): void
53
53
public function unknownMethod (): void
54
54
{
55
55
Loop::run (
56
- function (): \Generator
56
+ function (): \Generator
57
57
{
58
58
/** @var \ServiceBus\TelegramBot\Interaction\Result\Fail $result */
59
59
$ result = yield (new InteractionsProvider (TestHttpClient::create ('{} ' , 404 )))->call (
@@ -73,7 +73,7 @@ function(): \Generator
73
73
public function validationFailed (): void
74
74
{
75
75
Loop::run (
76
- function (): \Generator
76
+ function (): \Generator
77
77
{
78
78
/** @var \ServiceBus\TelegramBot\Interaction\Result\Fail $result */
79
79
$ result = yield (new InteractionsProvider (TestHttpClient::create ('{} ' , 404 )))->call (
@@ -95,7 +95,7 @@ function(): \Generator
95
95
public function internalError (): void
96
96
{
97
97
Loop::run (
98
- function (): \Generator
98
+ function (): \Generator
99
99
{
100
100
/** @var \ServiceBus\TelegramBot\Interaction\Result\Fail $result */
101
101
$ result = yield (new InteractionsProvider (TestHttpClient::create ('{} ' , 500 )))->call (
@@ -117,7 +117,7 @@ function(): \Generator
117
117
public function incorrectResponsePayload (): void
118
118
{
119
119
Loop::run (
120
- function (): \Generator
120
+ function (): \Generator
121
121
{
122
122
/** @var \ServiceBus\TelegramBot\Interaction\Result\Fail $result */
123
123
$ result = yield (new InteractionsProvider (TestHttpClient::create ('{} ' , 200 )))->call (
@@ -139,7 +139,7 @@ function(): \Generator
139
139
public function successRequest (): void
140
140
{
141
141
Loop::run (
142
- function (): \Generator
142
+ function (): \Generator
143
143
{
144
144
$ expectedResponse = '{"ok":true,"result":{"id":1,"is_bot":true,"first_name":"First","last_name":"","username":"User"}} ' ;
145
145
@@ -167,7 +167,7 @@ function(): \Generator
167
167
public function failedDownload (): void
168
168
{
169
169
Loop::run (
170
- function (): \Generator
170
+ function (): \Generator
171
171
{
172
172
/** @var \ServiceBus\TelegramBot\Interaction\Result\Fail $result */
173
173
$ result = yield (new InteractionsProvider (TestHttpClient::failed ('fail message ' )))->call (
@@ -189,7 +189,7 @@ function(): \Generator
189
189
public function successDownload (): void
190
190
{
191
191
Loop::run (
192
- function (): \Generator
192
+ function (): \Generator
193
193
{
194
194
/** @var \ServiceBus\TelegramBot\Interaction\Result\Success $result */
195
195
$ result = yield (new InteractionsProvider (TestHttpClient::create ('' , 200 )))->call (
0 commit comments