Fix test compatibility with PHP 7.3

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-11-03 21:46:05 +01:00
parent 76e08f2a21
commit 2dff9d5a09
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ class AttachmentContext implements Context {
private $serverContext; private $serverContext;
protected $lastAttachment = null; protected $lastAttachment = null;
protected array $rememberedAttachments = []; protected $rememberedAttachments = [];
/** @BeforeScenario */ /** @BeforeScenario */
public function gatherContexts(BeforeScenarioScope $scope) { public function gatherContexts(BeforeScenarioScope $scope) {

View File

@@ -16,7 +16,7 @@ class BoardContext implements Context {
private $stack = null; private $stack = null;
/** @var array last card response */ /** @var array last card response */
private $card = null; private $card = null;
private array $storedCards = []; private $storedCards = [];
/** @var ServerContext */ /** @var ServerContext */
private $serverContext; private $serverContext;