Skip to content

Commit 6adf73c

Browse files
authored
Make headerValue nullable
Default is `null`, which is incompatible with current `string` typehint
1 parent 3043977 commit 6adf73c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InboundEmail.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function html(): ?string
6666
return $this->message()->getHtmlContent();
6767
}
6868

69-
public function headerValue($headerName): string
69+
public function headerValue($headerName): ?string
7070
{
7171
return $this->message()->getHeaderValue($headerName, null);
7272
}

0 commit comments

Comments
 (0)