@@ -266,9 +266,9 @@ function ($e) use (&$exception) {
266
266
}
267
267
);
268
268
269
- \Clue \ React \Block \await (\React \Promise \Timer \sleep (0.01 ));
269
+ \React \Async \await (\React \Promise \Timer \sleep (0.01 ));
270
270
if ($ exception === null ) {
271
- \Clue \ React \Block \await (\React \Promise \Timer \sleep (0.2 ));
271
+ \React \Async \await (\React \Promise \Timer \sleep (0.2 ));
272
272
}
273
273
274
274
/** @var \RuntimeException $exception */
@@ -437,9 +437,9 @@ function ($e) use (&$exception) {
437
437
}
438
438
);
439
439
440
- \Clue \ React \Block \await (\React \Promise \Timer \sleep (0.01 ));
440
+ \React \Async \await (\React \Promise \Timer \sleep (0.01 ));
441
441
if ($ exception === null ) {
442
- \Clue \ React \Block \await (\React \Promise \Timer \sleep (0.2 ));
442
+ \React \Async \await (\React \Promise \Timer \sleep (0.2 ));
443
443
}
444
444
445
445
/** @var \RuntimeException $exception */
@@ -476,7 +476,7 @@ function ($e) use (&$wait) {
476
476
}
477
477
);
478
478
479
- \Clue \ React \Block \await (\React \Promise \Timer \sleep (0.2 ));
479
+ \React \Async \await (\React \Promise \Timer \sleep (0.2 ));
480
480
$ this ->assertTrue ($ wait );
481
481
482
482
$ this ->assertNotNull ($ client );
@@ -513,7 +513,7 @@ function ($e) use (&$wait) {
513
513
}
514
514
);
515
515
516
- \Clue \ React \Block \await (\React \Promise \Timer \sleep (0.2 ));
516
+ \React \Async \await (\React \Promise \Timer \sleep (0.2 ));
517
517
$ this ->assertTrue ($ wait );
518
518
519
519
$ this ->assertNotNull ($ client );
@@ -548,9 +548,9 @@ function ($e) use (&$exception) {
548
548
}
549
549
);
550
550
551
- \Clue \ React \Block \await (\React \Promise \Timer \sleep (0.01 ));
551
+ \React \Async \await (\React \Promise \Timer \sleep (0.01 ));
552
552
if ($ exception === null ) {
553
- \Clue \ React \Block \await (\React \Promise \Timer \sleep (0.2 ));
553
+ \React \Async \await (\React \Promise \Timer \sleep (0.2 ));
554
554
}
555
555
556
556
/** @var \RuntimeException $exception */
@@ -600,9 +600,9 @@ function ($e) use (&$exception) {
600
600
}
601
601
);
602
602
603
- \Clue \ React \Block \await (\React \Promise \Timer \sleep (0.01 ));
603
+ \React \Async \await (\React \Promise \Timer \sleep (0.01 ));
604
604
if ($ exception === null ) {
605
- \Clue \ React \Block \await (\React \Promise \Timer \sleep (0.2 ));
605
+ \React \Async \await (\React \Promise \Timer \sleep (0.2 ));
606
606
}
607
607
608
608
/** @var \RuntimeException $exception */
@@ -652,9 +652,9 @@ function ($e) use (&$exception) {
652
652
}
653
653
);
654
654
655
- \Clue \ React \Block \await (\React \Promise \Timer \sleep (0.01 ));
655
+ \React \Async \await (\React \Promise \Timer \sleep (0.01 ));
656
656
if ($ exception === null ) {
657
- \Clue \ React \Block \await (\React \Promise \Timer \sleep (0.2 ));
657
+ \React \Async \await (\React \Promise \Timer \sleep (0.2 ));
658
658
}
659
659
660
660
/** @var \RuntimeException $exception */
@@ -687,7 +687,7 @@ public function testQueryResolvesIfServerSendsValidResponse()
687
687
$ query = new Query ('google.com ' , Message::TYPE_A , Message::CLASS_IN );
688
688
689
689
$ promise = $ executor ->query ($ query );
690
- $ response = \Clue \ React \Block \await (\React \Promise \Timer \timeout ($ promise , 0.2 ));
690
+ $ response = \React \Async \await (\React \Promise \Timer \timeout ($ promise , 0.2 ));
691
691
692
692
$ this ->assertInstanceOf ('React\Dns\Model\Message ' , $ response );
693
693
}
0 commit comments