Skip to content

Commit 55e729f

Browse files
committed
run Rector and cs fix
1 parent 8756ac2 commit 55e729f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Command/Preview/ErrorPreviewConsoleCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use Error;
88
use ErrorHeroModule\Command\BaseLoggingCommand;
99
use Exception;
10+
use stdClass;
1011
use Symfony\Component\Console\Input\InputArgument;
1112
use Symfony\Component\Console\Input\InputInterface;
1213
use Symfony\Component\Console\Output\OutputInterface;
@@ -37,7 +38,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
3738
}
3839

3940
if ($type === 'fatal') {
40-
$y = new class implements \stdClass {
41+
$y = new class implements stdClass {
4142
};
4243
}
4344
}

src/HeroTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function execOnShutdown(): void
8585
// laminas-cli
8686
if (! $this instanceof Mvc && ! isset($this->request)) {
8787
ob_start();
88-
$result = $this->exceptionError($errorException);
88+
$this->exceptionError($errorException);
8989
$this->result = (string) ob_get_clean();
9090

9191
return;

src/Module.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use Doctrine\ORM\EntityManager;
88
use ErrorHeroModule\Command\Preview\ErrorPreviewConsoleCommand;
9-
use ErrorHeroModule\Controller\ErrorPreviewConsoleController;
109
use ErrorHeroModule\Controller\ErrorPreviewController;
1110
use ErrorHeroModule\Transformer\Doctrine;
1211
use Laminas\ModuleManager\Listener\ConfigListener;

0 commit comments

Comments
 (0)