File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ determine the current time::
97
97
class ExpirationChecker
98
98
{
99
99
public function __construct(
100
- private readonly ClockInterface $clock
100
+ private ClockInterface $clock
101
101
) {}
102
102
103
103
public function isExpired(DateTimeInterface $validUntil): bool
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ difference is that it's done in the constructor:
137
137
class GreetingGenerator
138
138
{
139
139
+ public function __construct(
140
- + private readonly LoggerInterface $logger,
140
+ + private LoggerInterface $logger,
141
141
+ ) {
142
142
+ }
143
143
@@ -171,7 +171,7 @@ that extends ``AbstractExtension``::
171
171
class GreetExtension extends AbstractExtension
172
172
{
173
173
public function __construct(
174
- private readonly GreetingGenerator $greetingGenerator,
174
+ private GreetingGenerator $greetingGenerator,
175
175
) {
176
176
}
177
177
You can’t perform that action at this time.
0 commit comments