Skip to content

Commit 5fbecff

Browse files
Philippe Segatorifabpot
authored andcommitted
[Notifier] Add more specific types at documentation level when php engine can't
1 parent 6d61360 commit 5fbecff

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Message/SmsMessage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function getPhone(): string
5858
return $this->phone;
5959
}
6060

61-
public function getRecipientId(): ?string
61+
public function getRecipientId(): string
6262
{
6363
return $this->phone;
6464
}

Transport/NullTransportFactory.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
*/
2121
final class NullTransportFactory extends AbstractTransportFactory
2222
{
23+
/**
24+
* @return NullTransport
25+
*/
2326
public function create(Dsn $dsn): TransportInterface
2427
{
2528
if ('null' === $dsn->getScheme()) {

0 commit comments

Comments
 (0)