Commit 1b6789f
committed
minor #17204 Usage of "Constructor Promotion" for PHP >= 8.0.2 (githubfromgui)
This PR was merged into the 6.0 branch.
Discussion
----------
Usage of "Constructor Promotion" for PHP >= 8.0.2
Symfony version [6.0 requires PHP 8.0.2](https://symfony.com/doc/6.0/setup.html#technical-requirements) or higher, so I would suggest to make usage of the [ `Constructor Promotion`](https://www.php.net/manual/en/language.oop5.decon.php#language.oop5.decon.constructor.promotion) feature.
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `6.x` for features of unreleased versions).
-->
Commits
-------
394815c Usage of "Constructor Promotion" for PHP >= 8.0.21 file changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2193 | 2193 | | |
2194 | 2194 | | |
2195 | 2195 | | |
2196 | | - | |
2197 | | - | |
2198 | | - | |
2199 | | - | |
2200 | | - | |
2201 | | - | |
| 2196 | + | |
| 2197 | + | |
2202 | 2198 | | |
2203 | 2199 | | |
2204 | 2200 | | |
| |||
2312 | 2308 | | |
2313 | 2309 | | |
2314 | 2310 | | |
2315 | | - | |
2316 | | - | |
2317 | | - | |
| 2311 | + | |
2318 | 2312 | | |
2319 | 2313 | | |
2320 | | - | |
2321 | | - | |
2322 | 2314 | | |
2323 | 2315 | | |
2324 | 2316 | | |
| |||
0 commit comments