Skip to content

Commit 24f26d7

Browse files
committed
document types
1 parent 8a55365 commit 24f26d7

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

UPGRADING.md

+24-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ replaced with the `final` class keyword. Extending this class is not allowed.
2222
- Class became `@final` in `v1.22.0` and in `v2.0.0` the `@final` annotation was
2323
replaced with the `final` class keyword. Extending this class is not allowed.
2424

25-
- Command is now registered using the Symfony `#[AsCommand]` attribute
25+
- Command is now registered using the Symfony `#[AsCommand]` attribute.
2626

2727
## ResetPasswordControllerTrait
2828

@@ -34,3 +34,26 @@ replaced with the `final` class keyword. Extending this class is not allowed.
3434

3535
- Annotation support for ResetPasswordRequest Doctrine entities that use the
3636
trait has been dropped - attribute mapping is required.
37+
38+
- Property types were added to `selector`, `hashedToken`, `requestedAt`, & `expiresAt`.
39+
40+
```diff
41+
- protected $selector;
42+
+ protected string $selector;
43+
44+
- protected $hashedToken;
45+
+ protected string $hashedToken;
46+
47+
- protected $requestedAt;
48+
+ protected \DateTimeImmutable $requestedAt;
49+
50+
- protected $expiresAt;
51+
+ protected \DateTimeInterface $expiresAt;
52+
```
53+
54+
- `initalize()` now returns `void`. Previously the return type was not declared
55+
56+
```diff
57+
- protected function initialize(....)
58+
+ protected function initialize(....): void
59+
```

0 commit comments

Comments
 (0)