8000 [Mailer] Add parameter type to method signature · symfony/symfony@4ae69c0 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 4ae69c0

Browse files
[Mailer] Add parameter type to method signature
Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
1 parent da42b82 commit 4ae69c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Mailer/Bridge/Postmark/Event/PostmarkDeliveryEventFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
class PostmarkDeliveryEventFactory
1717
{
18-
public function create($errorCode, string $message, Email $email): PostmarkDeliveryEvent
18+
public function create(int $errorCode, string $message, Email $email): PostmarkDeliveryEvent
1919
{
2020
if (!$this->supports($errorCode)) {
2121
throw new \InvalidArgumentException(sprintf('Error code "%s" is not supported.', $errorCode));

0 commit comments

Comments
 (0)
0