Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray committed Sep 9, 2024
1 parent 4fad5bc commit ec1b4ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Resources/BaseResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ public function getResponse(): ?Response

public function getPendingRequest(): ?PendingRequest
{
return $this->response?->getPendingRequest();
return $this->response
? $this->response->getPendingRequest()
: null;
}
}

0 comments on commit ec1b4ef

Please sign in to comment.