Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.

Commit b9d4024

Browse files
committed
Merge pull request #18 from php-http/analysis-qMEJKq
Applied fixes from StyleCI
2 parents fd6971a + 399db8a commit b9d4024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Guzzle6Promise.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function __construct(PromiseInterface $promise, RequestInterface $request
6161
} elseif ($reason instanceof GuzzleExceptions\GuzzleException) {
6262
$this->state = self::REJECTED;
6363
$this->exception = $this->handleException($reason, $request);
64-
} elseif($reason instanceof \Exception) {
64+
} elseif ($reason instanceof \Exception) {
6565
throw new \RuntimeException('Invalid exception returned from Guzzle6', 0, $reason);
6666
} else {
6767
throw new \UnexpectedValueException('Reason returned from Guzzle6 must be an Exception', 0, $reason);

0 commit comments

Comments
 (0)