mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 02:25:00 +00:00
force readonly properties on dummy class used in test
This commit is contained in:
@@ -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,
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user