Skip to content
Permalink
Browse files

fixed typehints (#61)

  • Loading branch information...
janbarasek authored and dg committed Apr 11, 2019
1 parent ce48a2c commit 4c1a77099fdb1849c05d2432f0ffed6faf25b08c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Mail/Message.php
@@ -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');
}
@@ -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');
}

0 comments on commit 4c1a770

Please sign in to comment.
You can’t perform that action at this time.