Skip to content

Commit

Permalink
chore: cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
c0nst4ntin committed Jan 4, 2023
1 parent 4be490c commit 2873800
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Prismic/Exception/RequestFailureException.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private static function fromGuzzleRequestOrConnectException(GuzzleException $e):
*/
public function getResponse(): ?ResponseInterface
{
if (!$this->guzzleException instanceof RequestException) {
if (! $this->guzzleException instanceof RequestException) {
return null;
}

Expand All @@ -112,9 +112,8 @@ public function getResponse(): ?ResponseInterface
*/
public function getRequest(): ?RequestInterface
{
if (
!$this->guzzleException instanceof RequestException &&
!$this->guzzleException instanceof ConnectException
if (! $this->guzzleException instanceof RequestException &&
! $this->guzzleException instanceof ConnectException
) {
return null;
}
Expand Down

0 comments on commit 2873800

Please sign in to comment.