Skip to content

Commit 4c1a770

Browse files
janbarasekdg
authored andcommitted
fixed typehints (#61)
1 parent ce48a2c commit 4c1a770

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Mail/Message.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function setReturnPath(string $email)
163163
/**
164164
* Returns the Return-Path header.
165165
*/
166-
public function getReturnPath(): string
166+
public function getReturnPath(): ?string
167167
{
168168
return $this->getHeader('Return-Path');
169169
}
@@ -183,7 +183,7 @@ public function setPriority(int $priority)
183183
/**
184184
* Returns email priority.
185185
*/
186-
public function getPriority(): int
186+
public function getPriority(): ?int
187187
{
188188
return $this->getHeader('X-Priority');
189189
}

0 commit comments

Comments
 (0)