'get_class()' call can be replaced with '::class'
Reports the get_class()
calls and suggests replacing them with ::class
when PHP Language level is set to 8.0 or later.
See Allow ::class on objects (php.net) for details.
Inspection Details | |
---|---|
Available in: | PhpStorm 2023.3, Qodana for PHP 2023.3 |
Plugin: | PHP, 233.SNAPSHOT |
Last modified: 13 July 2023