Skip to content

Commit

Permalink
Upgrade coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jeckel committed Dec 11, 2020
1 parent 83c2b7a commit 8d429db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Resolver/CommandHandlerResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,13 @@ public function resolve(Command $command): CommandHandler
assert($instance instanceof CommandHandler, 'Handler should be an instance of CommandHandler');
return $instance;
}

// @codeCoverageIgnoreStart
throw new HandlerNotFoundException(sprintf(
'No command handler instance for %s found in container for %s',
$handler,
get_class($command)
));
// @codeCoverageIgnoreEnd
}

/**
Expand Down

0 comments on commit 8d429db

Please sign in to comment.