Skip to content

Commit 4dd732b

Browse files
authored
Merge pull request #53 from php-http/analysis-KoZyyj
Apply fixes from StyleCI
2 parents f7573f6 + ef052dd commit 4dd732b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/PromiseTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ public function exceptionThatIsThrownFromReactProvider()
7171
$response = $this->getMockBuilder(ResponseInterface::class)->getMock();
7272

7373
return [
74-
'string' => [$request, 'whatever', UnexpectedValueException::class],
74+
'string' => [$request, 'whatever', UnexpectedValueException::class],
7575
'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],
7979
];
8080
}
8181
}

0 commit comments

Comments
 (0)