From 8861e1b67d8d508f03187407a20b92aab8778a59 Mon Sep 17 00:00:00 2001 From: kbond Date: Sun, 22 Jan 2023 15:49:50 +0000 Subject: [PATCH] bot: fix cs [skip ci] --- src/TestCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TestCommand.php b/src/TestCommand.php index 149f4a3..422175c 100644 --- a/src/TestCommand.php +++ b/src/TestCommand.php @@ -56,7 +56,7 @@ public static function for(Command $command): self public static function from(Application $application, string $cli): self { foreach ($application->all() as $commandObject) { - if ($cli === \get_class($commandObject)) { + if ($cli === $commandObject::class) { return self::for($commandObject); } }