Skip to content

Commit 19dcc7b

Browse files
author
Bernhard Schmitt
committed
Make nullability explicit
1 parent c07c2e3 commit 19dcc7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/MailerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class MailerFactory
2020
/**
2121
* @param string|string[]|null $dsn
2222
*/
23-
public function createMailer(string|array $dsn = null): MailerInterface
23+
public function createMailer(string|array|null $dsn = null): MailerInterface
2424
{
2525
$dsn = $dsn ?: $this->configuration['dsn'] ?? null;
2626

0 commit comments

Comments
 (0)