Skip to content

Commit c75270b

Browse files
Last cleanups before beta
1 parent d3b9049 commit c75270b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Notification/Notification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\Notifier\Notification;
1313

1414
use Psr\Log\LogLevel;
15-
use Symfony\Component\ErrorRenderer\Exception\FlattenException;
15+
use Symfony\Component\ErrorHandler\Exception\FlattenException;
1616
use Symfony\Component\Notifier\Recipient\Recipient;
1717

1818
/**

Recipient/AdminRecipient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(string $email = '', string $phone = '')
3030
/**
3131
* @return $this
3232
*/
33-
public function phone(string $phone): self
33+
public function phone(string $phone): SmsRecipientInterface
3434
{
3535
$this->phone = $phone;
3636

Recipient/SmsRecipientInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
interface SmsRecipientInterface
2020
{
2121
/**
22-
* Sets the phone number (no spaces, international code like in +3312345678)
22+
* Sets the phone number (no spaces, international code like in +3312345678).
2323
*
2424
* @return $this
2525
*/
26-
public function phone(string $phone);
26+
public function phone(string $phone): self;
2727

2828
public function getPhone(): string;
2929
}

0 commit comments

Comments
 (0)