From b6a094aeee0d92f0d6ed006b126c5a173b199954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Fri, 28 Jul 2023 01:33:00 +0200 Subject: [PATCH] force readonly properties on dummy class used in test --- .../ChillMainBundle/Tests/Export/ExportManagerTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Tests/Export/ExportManagerTest.php b/src/Bundle/ChillMainBundle/Tests/Export/ExportManagerTest.php index a546f138c..6b734fd9a 100644 --- a/src/Bundle/ChillMainBundle/Tests/Export/ExportManagerTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Export/ExportManagerTest.php @@ -533,8 +533,8 @@ final class ExportManagerTest extends KernelTestCase class DummyFilterWithApplying implements FilterInterface { public function __construct( - private ?string $role, - private string $applyOn + private readonly ?string $role, + private readonly string $applyOn ) { } @@ -569,11 +569,11 @@ class DummyFilterWithApplying implements FilterInterface class DummyExport implements ExportInterface { public function __construct( - private string $role, + private readonly string $role, /** * @var array */ - private array $supportedModifiers, + private readonly array $supportedModifiers, ) { }