Skip to content

Commit 81f0ff4

Browse files
Update InboundEmail.php
1 parent 3137f73 commit 81f0ff4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/InboundEmail.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ public function html(): ?string
6464
{
6565
return $this->message()->getHtmlContent();
6666
}
67+
68+
public function headerValue($headerName): string
69+
{
70+
return $this->message()->getHeaderValue($headerName, null);
71+
}
6772

6873
public function subject(): ?string
6974
{
@@ -171,9 +176,4 @@ public function isValid(): bool
171176
{
172177
return $this->from() !== '' && ($this->text() !== '' || $this->html() !== '');
173178
}
174-
175-
public function headerValue($headerName): string
176-
{
177-
return $this->message()->getHeaderValue($headerName, null);
178-
}
179179
}

0 commit comments

Comments
 (0)