Skip to content

Commit 4370fa0

Browse files
committed
Ignore psalm false-positives
1 parent f8c47ba commit 4370fa0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Message/Envelope.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ public function __construct(protected MessageInterface $message)
1010
{
1111
}
1212

13+
/** @psalm-suppress MoreSpecificReturnType */
1314
public static function fromData(string $handlerName, mixed $data, array $metadata = []): static
1415
{
16+
/** @psalm-suppress LessSpecificReturnStatement */
1517
return static::fromMessage(Message::fromData($handlerName, $data, $metadata));
1618
}
1719

0 commit comments

Comments
 (0)