Skip to content

Commit

Permalink
[rector] Rector fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 25, 2023
1 parent 02ff003 commit d3e6f26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Cloud/Console/Command/RemoveCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ protected function configure(): void

protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output): int
{
$configuration = [];
$style = new Console\Style\SymfonyStyle(
$input,
$output,
Expand Down
2 changes: 1 addition & 1 deletion src/Cloud/Workflow.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private static function fromApiModel(Api\Client $client, Api\Model\WorkflowRead
}

throw new \RuntimeException('This type of job is not currently supported.');
}, $jobs = $workflow->getJobs(), range(0, \count($jobs)))
}, $jobs = $workflow->getJobs(), range(0, \count((array) $jobs)))
),
new DTO\Autoload(
...array_map(
Expand Down

0 comments on commit d3e6f26

Please sign in to comment.