Skip to content

Commit

Permalink
Improve Envelope::all() return type
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag authored and ondrejmirtes committed Nov 3, 2022
1 parent e5e807b commit 7210072
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions stubs/Symfony/Component/Messenger/Envelope.stub
Expand Up @@ -14,4 +14,11 @@ final class Envelope
public function last(string $stampFqcn): ?StampInterface
{
}

/**
* @return ($stampFqcn is null ? array<string, list<StampInterface>> : list<StampInterface>)
*/
public function all(?string $stampFqcn = null): array
{
}
}

0 comments on commit 7210072

Please sign in to comment.