Skip to content

Commit 46bd844

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: Remove readonly for now, to be consistent
2 parents 7c21c66 + c99291b commit 46bd844

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/clock.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ determine the current time::
9797
class ExpirationChecker
9898
{
9999
public function __construct(
100-
private readonly ClockInterface $clock
100+
private ClockInterface $clock
101101
) {}
102102

103103
public function isExpired(DateTimeInterface $validUntil): bool

quick_tour/the_architecture.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ difference is that it's done in the constructor:
137137
class GreetingGenerator
138138
{
139139
+ public function __construct(
140-
+ private readonly LoggerInterface $logger,
140+
+ private LoggerInterface $logger,
141141
+ ) {
142142
+ }
143143
@@ -171,7 +171,7 @@ that extends ``AbstractExtension``::
171171
class GreetExtension extends AbstractExtension
172172
{
173173
public function __construct(
174-
private readonly GreetingGenerator $greetingGenerator,
174+
private GreetingGenerator $greetingGenerator,
175175
) {
176176
}
177177

0 commit comments

Comments
 (0)