Skip to content

Commit 5a52f23

Browse files
authored
Merge pull request #12 from laravel-notification-channels/dev
Update tp Laravel 12
2 parents e51ff94 + e929c47 commit 5a52f23

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
],
1414
"require": {
1515
"php": ">=7.2",
16-
"illuminate/notifications": "~5.5 || ~6.0 || ~7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
17-
"illuminate/support": "~5.5 || ~6.0 || ~7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
16+
"illuminate/notifications": "~5.5 || ~6.0 || ~7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
17+
"illuminate/support": "~5.5 || ~6.0 || ~7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
1818
"ext-soap": "*"
1919
},
2020
"require-dev": {

src/Exceptions/CouldNotSendNotification.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ class CouldNotSendNotification extends \Exception
99
/**
1010
* Thrown when we're unable to communicate with turbosms.
1111
*
12-
* @param Exception $exception
13-
*
12+
* @param Exception $exception
1413
* @return CouldNotSendNotification
1514
*/
1615
public static function couldNotCommunicateWithEndPoint(Exception $exception): self

src/TurboSMSChannel.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public function __construct(array $config = [])
7171

7272
/**
7373
* @return \SoapClient
74+
*
7475
* @throws CouldNotSendNotification
7576
*/
7677
protected function getClient()
@@ -85,10 +86,10 @@ protected function getClient()
8586
/**
8687
* Send the given notification.
8788
*
88-
* @param mixed $notifiable
89-
*
90-
* @param Notification $notification
89+
* @param mixed $notifiable
90+
* @param Notification $notification
9191
* @return void|array
92+
*
9293
* @throws CouldNotSendNotification
9394
*/
9495
public function send($notifiable, Notification $notification)

0 commit comments

Comments
 (0)