Skip to content

Commit 632d8e1

Browse files
javiereguiluzOskarStark
authored andcommitted
[Mime] Use constants instead of numbers to set email priority
1 parent d40922f commit 632d8e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/mime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ methods to compose the entire email message::
5050
->cc('bar@example.com')
5151
->bcc('baz@example.com')
5252
->replyTo('fabien@symfony.com')
53-
->priority(1)
53+
->priority(Email::PRIORITY_HIGH)
5454
->subject('Important Notification')
5555
->text('Lorem ipsum...')
5656
->html('<h1>Lorem ipsum</h1> <p>...</p>')

0 commit comments

Comments
 (0)