Skip to content

Commit

Permalink
bot: fix cs [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Jan 22, 2023
1 parent d0ed4fe commit 8861e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TestCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 8861e1b

Please sign in to comment.