Skip to content

Commit 64a47e4

Browse files
author
Alexey Plekhanov
committed
Improvements and fixes
1 parent 1e4a3b9 commit 64a47e4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Pushbullet notification channel for Laravel 5.3
1+
# Pushbullet notification channel for Laravel 5.3+
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/laravel-notification-channels/pushbullet.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/pushbullet)
44
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
@@ -9,7 +9,7 @@
99
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/pushbullet/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/pushbullet/?branch=master)
1010
[![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/pushbullet.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/pushbullet)
1111

12-
This package makes it easy to send notifications using [Pushbullet](http://pushbullet.com) with Laravel 5.3.
12+
This package makes it easy to send notifications using [Pushbullet](http://pushbullet.com) with Laravel 5.3+.
1313

1414
## Contents
1515

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "laravel-notification-channels/pushbullet",
3-
"description": "Laravel 5.3 Notifications Pushbullet Driver",
3+
"description": "Laravel 5.3+ Notifications Pushbullet Driver",
44
"homepage": "https://github.com/laravel-notification-channels/pushbullet",
55
"license": "MIT",
66
"authors": [
@@ -14,8 +14,8 @@
1414
"require": {
1515
"php": ">=5.6.4",
1616
"guzzlehttp/guzzle": "^6.2",
17-
"illuminate/notifications": "5.3.*",
18-
"illuminate/support": "5.1.*|5.2.*|5.3.*"
17+
"illuminate/notifications": "5.3.*|5.4.*",
18+
"illuminate/support": "5.1.*|5.2.*|5.3.*|5.4.*"
1919
},
2020
"require-dev": {
2121
"mockery/mockery": "^0.9.5",

src/PushbulletChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function send($notifiable, Notification $notification)
4040
}
4141

4242
/** @var \NotificationChannels\Pushbullet\PushbulletMessage $message */
43-
$message = $notification->toPushbullet()->target($target);
43+
$message = $notification->toPushbullet($notifiable)->target($target);
4444

4545
$this->pushbullet->send($message->toArray());
4646
}

0 commit comments

Comments
 (0)