Skip to content

Commit b7770b6

Browse files
committed
Remove readonly for now, to be consistent
1 parent 46bd844 commit b7770b6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

service_container.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -821,9 +821,9 @@ like this::
821821
class MessageGenerator
822822
{
823823
public function __construct(
824-
private readonly LoggerInterface $logger,
824+
private LoggerInterface $logger,
825825
#[AutowireCallable(service: MessageHashGenerator::class, method: 'generate')]
826-
private readonly \Closure $generateMessageHash
826+
private \Closure $generateMessageHash
827827
) {
828828
// ...
829829
}

service_container/service_closures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ in the service class, without further configuration::
105105
{
106106
public function __construct(
107107
#[AutowireServiceClosure('mailer')]
108-
private readonly \Closure $mailer
108+
private \Closure $mailer
109109
) {
110110
$this->mailer = $mailer;
111111
}

workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ attribute::
278278
{
279279
public function __construct(
280280
#[Target('blog_publishing')]
281-
private readonly WorkflowInterface $workflow
281+
private WorkflowInterface $workflow
282282
) {
283283
}
284284

0 commit comments

Comments
 (0)