Skip to content

Commit

Permalink
Merge develop (#15)
Browse files Browse the repository at this point in the history
* Return response for use with notification events.

* Add support for Laravel 5.4
  • Loading branch information
koomai committed Mar 12, 2017
1 parent e649ac0 commit 90aba79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions composer.json
Expand Up @@ -18,8 +18,9 @@
],
"require": {
"php": ">=5.6.4",
"illuminate/notifications": "5.3.*",
"illuminate/support": "5.1.*|5.2.*|5.3.*",
"illuminate/notifications": "5.3.*|5.4.*",
"illuminate/support": "5.3.*|5.4.*",
"illuminate/events": "5.3.*|5.4.*",
"plivo/plivo-php": "^1.1"
},
"require-dev": {
Expand Down
2 changes: 2 additions & 0 deletions src/PlivoChannel.php
Expand Up @@ -57,5 +57,7 @@ public function send($notifiable, Notification $notification)
if ($response['status'] !== 202) {
throw CouldNotSendNotification::serviceRespondedWithAnError($response);
}

return $response;
}
}

0 comments on commit 90aba79

Please sign in to comment.