Specify $options array shape for OutboundPathProcessorInterface

Created on 26 April 2024, about 1 year ago

Problem/Motivation

Modules implementing OutboundPathProcessorInterface will trigger a phpstan warning re: "parameter $options with no value type specified in iterable type array."

Steps to reproduce

Run phpstan analyze at level 6 or higher, on a module implementing OutboundPathProcessorInterface.

Proposed resolution

Let's specify the $options array shape as best we can. Note there are some additional option keys that may be present - I didn't (yet) try to document these exhaustively.

Remaining tasks

User interface changes

API changes

No API change, this just adds a more specific type definition to the phpdoc.

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated 42 minutes ago

Created by

πŸ‡ΊπŸ‡ΈUnited States mfb San Francisco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024