- Issue created by @donquixote
- π©πͺGermany donquixote
donquixote β changed the visibility of the branch 3495495-inline-class- to hidden.
- Merge request !10639Issue #3495495: Inline `$class = static::class` in element getInfo() methods. β (Open) created by donquixote
- π©πͺGermany donquixote
Let's see what others think.
It can be a good idea to replace complex inline expressions with variables, but I don't think this is such a case.
I suspect it is mostly historic reasons, to keep the #2619482: Convert all get_called_class()/get_class() to static:: β footprint small. - π«π·France andypost
It's very helpful for PHPStorm so maybe makes sense to add rector rule)
-
alexpott β
committed fe830ea9 on 11.x
Issue #3495495 by donquixote: Use inline static::class in Element*...
-
alexpott β
committed fe830ea9 on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.