Skip to content

Commit fc93ad4

Browse files
committed
[Notifier][Smsc] Require login and password
1 parent 39e5711 commit fc93ad4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SmscTransport.php

+2-2
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)