From 2dff9d5a098f53e031f0c67006f4e1cde59c8a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 3 Nov 2022 21:46:05 +0100 Subject: [PATCH] Fix test compatibility with PHP 7.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- tests/integration/features/bootstrap/AttachmentContext.php | 2 +- tests/integration/features/bootstrap/BoardContext.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/features/bootstrap/AttachmentContext.php b/tests/integration/features/bootstrap/AttachmentContext.php index 051789aec..1831bfaa9 100644 --- a/tests/integration/features/bootstrap/AttachmentContext.php +++ b/tests/integration/features/bootstrap/AttachmentContext.php @@ -15,7 +15,7 @@ class AttachmentContext implements Context { private $serverContext; protected $lastAttachment = null; - protected array $rememberedAttachments = []; + protected $rememberedAttachments = []; /** @BeforeScenario */ public function gatherContexts(BeforeScenarioScope $scope) { diff --git a/tests/integration/features/bootstrap/BoardContext.php b/tests/integration/features/bootstrap/BoardContext.php index 420a7d410..cc4dbfa7a 100644 --- a/tests/integration/features/bootstrap/BoardContext.php +++ b/tests/integration/features/bootstrap/BoardContext.php @@ -16,7 +16,7 @@ class BoardContext implements Context { private $stack = null; /** @var array last card response */ private $card = null; - private array $storedCards = []; + private $storedCards = []; /** @var ServerContext */ private $serverContext;