Commit bbe1b6e
committed
minor symfony#59373 [HttpFoundation] Define phpdoc type for Response "statusTexts" (neilime)
This PR was submitted for the 7.2 branch but it was merged into the 7.3 branch instead.
Discussion
----------
[HttpFoundation] Define phpdoc type for Response "statusTexts"
| Q | A
| ------------- | ---
| Branch? | 7.3
| Bug fix? | no
| New feature? |no
| Deprecations? | no
| Issues | none
| License | MIT
As `Symfony\Component\HttpFoundation\Response::$statusTexts` is public, it can be used by every projects. Some of them can use strict type analysis like PSALM or PHPStan...
It is always useful, and for some of them mandatory to have a proper array typing to use this variable.
Commits
-------
51499d2 chore(HttpFoundation): define phpdoc type for Response "statusTexts"1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
0 commit comments