From ec1b4ef377fd604300732fff9aecc3ba117a44a7 Mon Sep 17 00:00:00 2001 From: Krishan Koenig Date: Mon, 9 Sep 2024 09:53:33 +0200 Subject: [PATCH] wip --- src/Resources/BaseResource.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Resources/BaseResource.php b/src/Resources/BaseResource.php index 8a9c01cb..6108cebc 100644 --- a/src/Resources/BaseResource.php +++ b/src/Resources/BaseResource.php @@ -36,6 +36,8 @@ public function getResponse(): ?Response public function getPendingRequest(): ?PendingRequest { - return $this->response?->getPendingRequest(); + return $this->response + ? $this->response->getPendingRequest() + : null; } }