Skip to content

Commit 61234a2

Browse files
committed
fix: CCX-153 Add ProcessManager cleanup command as patch
1 parent 02a52d1 commit 61234a2

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/ProcessManagerBundle/Command/CleanupProcessDataCommand.php

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

1818
use Doctrine\DBAL\Exception;
1919
use Pimcore\Console\AbstractCommand;
20-
use Pimcore\Db;
2120
use ProcessManagerBundle\Service\CleanupService;
2221
use Symfony\Component\Console\Command\Command;
2322
use Symfony\Component\Console\Input\InputInterface;

src/ProcessManagerBundle/Service/CleanupService.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@
2020

2121
class CleanupService
2222
{
23-
public ParameterBagInterface $parameterBag;
24-
public function __construct(ParameterBagInterface $parameterBag)
23+
public function __construct(protected ParameterBagInterface $parameterBag)
2524
{
26-
$this->parameterBag = $parameterBag;
2725
}
2826

2927
/**

0 commit comments

Comments
 (0)