mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
force readonly properties on dummy class used in test
This commit is contained in:
parent
0ed5544ad3
commit
b6a094aeee
@ -533,8 +533,8 @@ final class ExportManagerTest extends KernelTestCase
|
|||||||
class DummyFilterWithApplying implements FilterInterface
|
class DummyFilterWithApplying implements FilterInterface
|
||||||
{
|
{
|
||||||
public function __construct(
|
public function __construct(
|
||||||
private ?string $role,
|
private readonly ?string $role,
|
||||||
private string $applyOn
|
private readonly string $applyOn
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -569,11 +569,11 @@ class DummyFilterWithApplying implements FilterInterface
|
|||||||
class DummyExport implements ExportInterface
|
class DummyExport implements ExportInterface
|
||||||
{
|
{
|
||||||
public function __construct(
|
public function __construct(
|
||||||
private string $role,
|
private readonly string $role,
|
||||||
/**
|
/**
|
||||||
* @var array<string>
|
* @var array<string>
|
||||||
*/
|
*/
|
||||||
private array $supportedModifiers,
|
private readonly array $supportedModifiers,
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user