From ef052dd4905b55ffd5eff21ad4f864b1dfd6d392 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 13 Jul 2022 05:38:12 +0000 Subject: [PATCH] Apply fixes from StyleCI --- tests/PromiseTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/PromiseTest.php b/tests/PromiseTest.php index 288630c..1684e91 100644 --- a/tests/PromiseTest.php +++ b/tests/PromiseTest.php @@ -71,11 +71,11 @@ public function exceptionThatIsThrownFromReactProvider() $response = $this->getMockBuilder(ResponseInterface::class)->getMock(); return [ - 'string' => [$request, 'whatever', UnexpectedValueException::class], + 'string' => [$request, 'whatever', UnexpectedValueException::class], 'InvalidArgumentException' => [$request, new InvalidArgumentException('Something went wrong'), TransferException::class], - 'RuntimeException' => [$request, new RuntimeException('Something happened inside ReactPHP engine'), NetworkException::class], - 'NetworkException' => [$request, new NetworkException('Something happened inside ReactPHP engine', $request), NetworkException::class], - 'HttpException' => [$request, new HttpException('Something happened inside ReactPHP engine', $request, $response), HttpException::class], + 'RuntimeException' => [$request, new RuntimeException('Something happened inside ReactPHP engine'), NetworkException::class], + 'NetworkException' => [$request, new NetworkException('Something happened inside ReactPHP engine', $request), NetworkException::class], + 'HttpException' => [$request, new HttpException('Something happened inside ReactPHP engine', $request, $response), HttpException::class], ]; } }