Commit c55905f
committed
minor #61905 [HtmlSanitizer] Remove redundant assignment to promoted property $con… (momito69)
This PR was merged into the 7.4 branch.
Discussion
----------
[HtmlSanitizer] Remove redundant assignment to promoted property $con…
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues | Fix symfony/symfony#61904
| License | MIT
In the HtmlSanitizer class constructor, there is a redundant assignment to the promoted property `$this->config`:
Since **$config** is already a promoted property, the explicit assignment `$this->config = $config;` is unnecessary and can be safely removed.
Commits
-------
51a290a87d3 [HtmlSanitizer] Remove redundant assignment to promoted property $config in constructor1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
0 commit comments