@@ -71,11 +71,11 @@ public function exceptionThatIsThrownFromReactProvider()
71
71
$ response = $ this ->getMockBuilder (ResponseInterface::class)->getMock ();
72
72
73
73
return [
74
- 'string ' => [$ request , 'whatever ' , UnexpectedValueException::class],
74
+ 'string ' => [$ request , 'whatever ' , UnexpectedValueException::class],
75
75
'InvalidArgumentException ' => [$ request , new InvalidArgumentException ('Something went wrong ' ), TransferException::class],
76
- 'RuntimeException ' => [$ request , new RuntimeException ('Something happened inside ReactPHP engine ' ), NetworkException::class],
77
- 'NetworkException ' => [$ request , new NetworkException ('Something happened inside ReactPHP engine ' , $ request ), NetworkException::class],
78
- 'HttpException ' => [$ request , new HttpException ('Something happened inside ReactPHP engine ' , $ request , $ response ), HttpException::class],
76
+ 'RuntimeException ' => [$ request , new RuntimeException ('Something happened inside ReactPHP engine ' ), NetworkException::class],
77
+ 'NetworkException ' => [$ request , new NetworkException ('Something happened inside ReactPHP engine ' , $ request ), NetworkException::class],
78
+ 'HttpException ' => [$ request , new HttpException ('Something happened inside ReactPHP engine ' , $ request , $ response ), HttpException::class],
79
79
];
80
80
}
81
81
}
0 commit comments