We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c2aec1 commit 094125cCopy full SHA for 094125c
src/InboundEmail.php
@@ -22,13 +22,6 @@ class InboundEmail extends Model
22
'message'
23
];
24
25
- public static function fromMessage($message)
26
- {
27
- return new static([
28
- 'message' => $message,
29
- ]);
30
- }
31
-
32
protected static function boot()
33
{
34
parent::boot();
@@ -38,6 +31,13 @@ protected static function boot()
38
});
39
}
40
+ public static function fromMessage($message)
35
+ {
36
+ return new static([
37
+ 'message' => $message,
+ ]);
+ }
+
41
public function id(): string
42
43
return $this->message()->getHeaderValue('Message-Id', str_random());
0 commit comments