Skip to content

Commit

Permalink
upgrade to pusher 3 (#20016)
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid authored and taylorotwell committed Jul 12, 2017
1 parent 87a8ec0 commit d6078b3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Broadcasting/BroadcastManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Illuminate\Broadcasting;

use Pusher;
use Closure;
use Pusher\Pusher;
use Psr\Log\LoggerInterface;
use InvalidArgumentException;
use Illuminate\Broadcasting\Broadcasters\LogBroadcaster;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Illuminate\Broadcasting\Broadcasters;

use Pusher;
use Pusher\Pusher;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Illuminate\Broadcasting\BroadcastException;
Expand All @@ -13,14 +13,14 @@ class PusherBroadcaster extends Broadcaster
/**
* The Pusher SDK instance.
*
* @var \Pusher
* @var Pusher
*/
protected $pusher;

/**
* Create a new broadcaster instance.
*
* @param \Pusher $pusher
* @param Pusher $pusher
* @return void
*/
public function __construct(Pusher $pusher)
Expand Down Expand Up @@ -112,7 +112,7 @@ public function broadcast(array $channels, $event, array $payload = [])
/**
* Get the Pusher SDK instance.
*
* @return \Pusher
* @return Pusher
*/
public function getPusher()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Broadcasting/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}
},
"suggest": {
"pusher/pusher-php-server": "Required to use the Pusher broadcast driver (~2.0)."
"pusher/pusher-php-server": "Required to use the Pusher broadcast driver (~3.0)."
},
"config": {
"sort-packages": true
Expand Down

0 comments on commit d6078b3

Please sign in to comment.