Skip to content

Commit

Permalink
fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Dec 25, 2023
1 parent 3e6a9d0 commit ca3e557
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Commands/InfoCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use Spiral\TemporalBridge\DeclarationLocatorInterface;
use Spiral\TemporalBridge\DeclarationWorkerResolver;
use Symfony\Component\Console\Helper\TableSeparator;
use Symfony\Component\Console\Output\OutputInterface;
use Temporal\Internal\Declaration\Reader\ActivityReader;
use Temporal\Internal\Declaration\Reader\WorkflowReader;
use Temporal\Workflow\WorkflowInterface;
Expand Down Expand Up @@ -63,7 +64,10 @@ public function perform(

$rootDir = \realpath($dir->get('root')) . '/';

\assert($this->output instanceof OutputInterface);

$this->output->title('Workflows');

$table = $this->table(['Name', 'Class', 'Task Queue']);
foreach ($workflows as $workflow) {
$table->addRow([
Expand Down

0 comments on commit ca3e557

Please sign in to comment.