Skip to content

Commit

Permalink
move events to pusher namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon committed Nov 20, 2023
1 parent 283e8f6 commit 69252d0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Contracts/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Illuminate\Support\Facades\App;
use Laravel\Reverb\Application;
use Laravel\Reverb\Output;
use Laravel\Reverb\PusherEvent;
use Laravel\Reverb\Pusher\Event as PusherEvent;

abstract class Connection
{
Expand Down
4 changes: 2 additions & 2 deletions src/PusherEvent.php → src/Pusher/Event.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace Laravel\Reverb;
namespace Laravel\Reverb\Pusher;

use Exception;
use Illuminate\Support\Str;
use Laravel\Reverb\Contracts\ChannelManager;
use Laravel\Reverb\Contracts\Connection;

class PusherEvent
class Event
{
/**
* Handle a pusher event.
Expand Down
1 change: 1 addition & 0 deletions src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Laravel\Reverb\Contracts\Connection;
use Laravel\Reverb\Exceptions\InvalidOrigin;
use Laravel\Reverb\Exceptions\PusherException;
use Laravel\Reverb\Pusher\Event as PusherEvent;

class Server
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Laravel\Reverb\PusherEvent;
use Laravel\Reverb\Pusher\Event as PusherEvent;
use Laravel\Reverb\Tests\Connection;

beforeEach(function () {
Expand Down

0 comments on commit 69252d0

Please sign in to comment.