Skip to content

Commit 5cffece

Browse files
committed
[Notifier][Smsc] Require login and password
1 parent 0b9b56c commit 5cffece

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Notifier/Bridge/Smsc/SmscTransport.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ final class SmscTransport extends AbstractTransport
3434
private $password;
3535
private $from;
3636

37-
public function __construct(?string $username, ?string $password, string $from, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null)
37+
public function __construct(string $login, string $password, string $from, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null)
3838
{
39-
$this->login = $username;
39+
$this->login = $login;
4040
$this->password = $password;
4141
$this->from = $from;
4242

0 commit comments

Comments
 (0)