From b20092876c3d23c172a6469f9c0d7ef1de445257 Mon Sep 17 00:00:00 2001 From: Kevin Bond Date: Sun, 24 Nov 2024 21:02:03 -0500 Subject: [PATCH] [Messenger] fix `Envelope::all()` conditional return docblock --- Envelope.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Envelope.php b/Envelope.php index 03fb4c8e..7741bb4d 100644 --- a/Envelope.php +++ b/Envelope.php @@ -112,7 +112,7 @@ public function last(string $stampFqcn): ?StampInterface * * @return StampInterface[]|StampInterface[][] The stamps for the specified FQCN, or all stamps by their class name * - * @psalm-return ($stampFqcn is string : array, list> ? list) + * @psalm-return ($stampFqcn is null ? array, list> : list) */ public function all(?string $stampFqcn = null): array {