Skip to content

Commit

Permalink
Fixed PHPStan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Oct 26, 2023
1 parent 45dc906 commit ad37c10
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Cloud/DTO/JobList.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@

readonly class JobList implements \Countable, \IteratorAggregate
{
/** @var DTO\Workflow\JobInterface<DTO\Workflow\Pipeline|DTO\Workflow\Action>[] */
/**
* @var list<DTO\Workflow\JobInterface> $jobs
* @phpstan-var list<DTO\Workflow\Pipeline|DTO\Workflow\Action> $jobs
*/
private array $jobs;

public function __construct(
Expand Down

0 comments on commit ad37c10

Please sign in to comment.