Skip to content

Commit

Permalink
Fixing typo in UPGRADE.md (#742)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergei Predvoditelev <[email protected]>
  • Loading branch information
DSTester and vjik authored Aug 8, 2024
1 parent 9291432 commit a0dc1d1
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 a0dc1d1

Please sign in to comment.