From 66e72ad94af087a5a66561ef96e964e0f4efd1f8 Mon Sep 17 00:00:00 2001 From: Pierre du Plessis Date: Wed, 3 Apr 2024 19:36:07 +0200 Subject: [PATCH] Fix PHP-8 only syntax --- Tests/Action/ObtainCreditCardActionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Action/ObtainCreditCardActionTest.php b/Tests/Action/ObtainCreditCardActionTest.php index f8aaf79..e962aed 100644 --- a/Tests/Action/ObtainCreditCardActionTest.php +++ b/Tests/Action/ObtainCreditCardActionTest.php @@ -340,7 +340,7 @@ public function testShouldPassFirstAndCurrentModelsToTemplate(): void try { $action->execute(new ObtainCreditCard($firstModel, $currentModel)); - } catch (HttpResponse) { + } catch (HttpResponse $e) { return; }