From 1d993c41af66184449c07d78acee452d33e4fe12 Mon Sep 17 00:00:00 2001 From: Krishan Koenig Date: Tue, 21 Jan 2025 12:11:57 +0100 Subject: [PATCH] fix: phpstan --- src/Exceptions/LogicException.php | 5 +++++ src/Traits/HasResponse.php | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/Exceptions/LogicException.php diff --git a/src/Exceptions/LogicException.php b/src/Exceptions/LogicException.php new file mode 100644 index 00000000..08f3cc43 --- /dev/null +++ b/src/Exceptions/LogicException.php @@ -0,0 +1,5 @@ +response) { - throw new MollieException('Response is not set'); + throw new LogicException('Response is not set'); } return $this->response->getPendingRequest();