@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace NotificationChannels\Facebook\Components; |
4 | 4 | |
5 | -use NotificationChannels\Facebook\Exceptions\CouldNotCreateButton; |
|
6 | 5 | use NotificationChannels\Facebook\Enums\ButtonType; |
6 | +use NotificationChannels\Facebook\Exceptions\CouldNotCreateButton; |
|
7 | 7 | |
8 | 8 | class Button implements \JsonSerializable |
9 | 9 | { |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | /** |
90 | 90 | * Notification text. |
91 | 91 | * |
92 | - * @param $text |
|
92 | + * @param string $text |
|
93 | 93 | * @throws CouldNotCreateMessage |
94 | 94 | * |
95 | 95 | * @return $this |
@@ -146,7 +146,6 @@ discard block |
||
146 | 146 | /** |
147 | 147 | * Add up to 3 call to action buttons. |
148 | 148 | * |
149 | - * @param array $buttons |
|
150 | 149 | * |
151 | 150 | * @return $this |
152 | 151 | * @throws CouldNotSendNotification |
@@ -2,10 +2,10 @@ |
||
2 | 2 | |
3 | 3 | namespace NotificationChannels\Facebook; |
4 | 4 | |
5 | -use NotificationChannels\Facebook\Exceptions\CouldNotCreateMessage; |
|
6 | -use NotificationChannels\Facebook\Exceptions\CouldNotSendNotification; |
|
7 | 5 | use NotificationChannels\Facebook\Enums\AttachmentType; |
8 | 6 | use NotificationChannels\Facebook\Enums\NotificationType; |
7 | +use NotificationChannels\Facebook\Exceptions\CouldNotCreateMessage; |
|
8 | +use NotificationChannels\Facebook\Exceptions\CouldNotSendNotification; |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * Class FacebookMessage |