Skip to content

Commit 9d25f4f

Browse files
authored
Merge pull request #8 from Jeckel-Lab/fix-abstract-call
Fix call to static method
2 parents f944065 + cae6237 commit 9d25f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommandHandler/CommandHandlerAbstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ abstract class CommandHandlerAbstract implements CommandHandlerInterface
2222
*/
2323
protected function validateCommand(CommandInterface $command): void
2424
{
25-
foreach (self::getHandledCommands() as $handledCommand) {
25+
foreach (static::getHandledCommands() as $handledCommand) {
2626
if ($command instanceof $handledCommand) {
2727
return;
2828
}

0 commit comments

Comments
 (0)