Skip to content

Commit 329be11

Browse files
committed
Fix CS
1 parent a7d204d commit 329be11

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/Command/LoadDataFixturesDoctrineODMCommand.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Doctrine\Common\DataFixtures\Executor\MongoDBExecutor;
1010
use Doctrine\Common\DataFixtures\Purger\MongoDBPurger;
1111
use Psr\Log\AbstractLogger;
12+
use Stringable;
1213
use Symfony\Component\Console\Input\InputInterface;
1314
use Symfony\Component\Console\Input\InputOption;
1415
use Symfony\Component\Console\Output\OutputInterface;
@@ -84,10 +85,12 @@ protected function execute(InputInterface $input, OutputInterface $output): int
8485

8586
$purger = new MongoDBPurger($dm);
8687
$executor = new MongoDBExecutor($dm, $purger);
87-
$executor->setLogger(new class($output) extends AbstractLogger {
88-
public function __construct(private readonly OutputInterface $output) {}
88+
$executor->setLogger(new class ($output) extends AbstractLogger {
89+
public function __construct(private readonly OutputInterface $output)
90+
{
91+
}
8992

90-
public function log(mixed $level, string|\Stringable $message, array $context = []): void
93+
public function log(mixed $level, string|Stringable $message, array $context = []): void
9194
{
9295
$this->output->writeln(sprintf(' <comment>></comment> <info>%s</info>', $message));
9396
}

0 commit comments

Comments
 (0)