Skip to content

Commit

Permalink
fixed typehints (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek authored and dg committed Apr 11, 2019
1 parent ce48a2c commit 4c1a770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mail/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public function setReturnPath(string $email)
/**
* Returns the Return-Path header.
*/
public function getReturnPath(): string
public function getReturnPath(): ?string
{
return $this->getHeader('Return-Path');
}
Expand All @@ -183,7 +183,7 @@ public function setPriority(int $priority)
/**
* Returns email priority.
*/
public function getPriority(): int
public function getPriority(): ?int
{
return $this->getHeader('X-Priority');
}
Expand Down

0 comments on commit 4c1a770

Please sign in to comment.