Skip to content

Commit

Permalink
Fixing Typo in UPGRADE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DSTester authored Aug 8, 2024
1 parent 502e098 commit 64810c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ for both A and B.
- `{targetValueOrAttribute}` to `{targetValueOrProperty}`,
- `{attributes}` to `{properties}`.

* The signature for `Yiisoft\Validator\RuleHandlerIntarface::validate()` changed. If you have classes that implement
`RuleHandlerIntarface`, change the type of `$rule` parameter in method `validate()` from `object` to `RuleInterface`.
* The signature for `Yiisoft\Validator\RuleHandlerInterface::validate()` changed. If you have classes that implement
`RuleHandlerInterface`, change the type of `$rule` parameter in method `validate()` from `object` to `RuleInterface`.
For example:

```php
Expand Down

0 comments on commit 64810c9

Please sign in to comment.