Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #32181 [Routing] Add type-hints RequestContext and Route classe…
…s. (derrabus) This PR was merged into the 5.0-dev branch. Discussion ---------- [Routing] Add type-hints RequestContext and Route classes. | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #32179 | License | MIT | Doc PR | N/A This PR adds type-hints to `RequestContext` and the Route classes to give them a more php7-like feeling. Adding these type-hints on master should not be a breaking change because we require php 7.2 there, which allows downstream classes/interfaces to remove a type-hint from a method signature. Commits ------- 614e824 [Routing] Add type-hints RequestContext and Route classes.
- Loading branch information
Showing
5 changed files
with
36 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.