mirror of
https://github.com/symfony/console.git
synced 2026-03-24 01:12:13 +01:00
Replace get_class() calls by ::class
This commit is contained in:
@@ -24,7 +24,7 @@ final class CliRequest extends Request
|
||||
public readonly TraceableCommand $command,
|
||||
) {
|
||||
parent::__construct(
|
||||
attributes: ['_controller' => \get_class($command->command), '_virtual_type' => 'command'],
|
||||
attributes: ['_controller' => $command->command::class, '_virtual_type' => 'command'],
|
||||
server: $_SERVER,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user