Skip to content

Commit

Permalink
Call out signature changes in FilterInterface
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Brückner <[email protected]>
Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel and froschdesign authored Aug 14, 2024
1 parent a06b7ba commit c44e8f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/book/v3/migration/v2-to-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ final class MyFilter implements Laminas\Filter\FilterInterface {
}
```

#### Change of Parameter and Return Type

Also note that the signature of both `filter()` and `__invoke()` has changed to include `mixed` as both parameter and return type, therefore, it will be necessary to add any missing parameter and return types to your custom filters.

### Filter Plugin Manager
Expand Down

0 comments on commit c44e8f1

Please sign in to comment.