Skip to content
Snippets Groups Projects
Commit d7ce554f authored by Romain Canon's avatar Romain Canon Committed by Christian Kuhn
Browse files

[TASK] Replace `get_class($this)` calls with `static::class`

Improves runtime performance of these calls by approximately 1/3.

See https://belineperspectives.com/2017/03/13/get_classthis-vs-staticclass/

Resolves: #82416
Releases: master
Change-Id: I7a069068ed66cbb4ebd83bdad56c621166bf8139
Reviewed-on: https://review.typo3.org/54069


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarSimon Praetorius <simon@praetorius.me>
Reviewed-by: default avatarNathan Boiron <nathan.boiron@gmail.com>
Reviewed-by: default avatarMatthias Vogel <typo3@kanti.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 77152fe6
No related merge requests found
Showing
with 25 additions and 25 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment