Skip to content

Commit

Permalink
Update src/Domain/Service/TaskFactory.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbelasichon authored Oct 10, 2023
1 parent 5506971 commit 91be658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Domain/Service/TaskFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private function createTask(string $taskName): Task
if ($task instanceof ShellCommandServiceAwareInterface) {
$task->setShellCommandService(new ShellCommandService());
}
if($task instanceof LoggerAwareInterface) {
if ($task instanceof LoggerAwareInterface) {
/** @var LoggerInterface $logger */
$logger = $this->container->get(LoggerInterface::class);
$task->setLogger($logger);
Expand Down

0 comments on commit 91be658

Please sign in to comment.