Skip to content

Commit 6cb12a4

Browse files
NGSTACK-1017 remove readonly from class properties
1 parent a36809a commit 6cb12a4

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/Command/GenerateIriTemplatesCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
final class GenerateIriTemplatesCommand extends Command
2626
{
2727
public function __construct(
28-
private readonly IriTemplatesService $iriTemplatesService,
29-
private readonly Filesystem $filesystem,
28+
private IriTemplatesService $iriTemplatesService,
29+
private Filesystem $filesystem,
3030
) {
3131
parent::__construct('netgen:api-platform-extras:generate-iri-templates');
3232
}

src/Service/IriTemplatesService.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
final class IriTemplatesService
1919
{
2020
public function __construct(
21-
private readonly ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory,
22-
private readonly ResourceNameCollectionFactoryInterface $resourceExtractor,
23-
private readonly RouterInterface $router,
21+
private ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory,
22+
private ResourceNameCollectionFactoryInterface $resourceExtractor,
23+
private RouterInterface $router,
2424
) {}
2525

2626
/**

0 commit comments

Comments
 (0)