Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Multiple merchants on a voucher set #73

Merged
merged 6 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Events\PersonalAccessTokens;

use App\Models\PersonalAccessToken;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Foundation\Events\Dispatchable;
Expand All @@ -25,7 +26,7 @@ public function __construct(public PersonalAccessToken|SanctumPersonalAccessToke
/**
* Get the channels the event should broadcast on.
*
* @return array<int, \Illuminate\Broadcasting\Channel>
* @return array<int, Channel>
*/
public function broadcastOn(): array
{
Expand Down
3 changes: 2 additions & 1 deletion app/Events/TeamUsers/TeamUserWasCreated.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Events\TeamUsers;

use App\Models\TeamUser;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Foundation\Events\Dispatchable;
Expand All @@ -24,7 +25,7 @@ public function __construct(public TeamUser $teamUser) {}
/**
* Get the channels the event should broadcast on.
*
* @return array<int, \Illuminate\Broadcasting\Channel>
* @return array<int, Channel>
*/
public function broadcastOn(): array
{
Expand Down
3 changes: 2 additions & 1 deletion app/Events/Teams/TeamWasCreated.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Events\Teams;

use App\Models\Team;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Foundation\Events\Dispatchable;
Expand All @@ -24,7 +25,7 @@ public function __construct(public Team $team) {}
/**
* Get the channels the event should broadcast on.
*
* @return array<int, \Illuminate\Broadcasting\Channel>
* @return array<int, Channel>
*/
public function broadcastOn(): array
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Events\VoucherBeneficiaryDistributions;

use App\Models\VoucherBeneficiaryDistribution;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Foundation\Events\Dispatchable;
Expand All @@ -22,7 +23,7 @@ public function __construct(public VoucherBeneficiaryDistribution $voucherBenefi
/**
* Get the channels the event should broadcast on.
*
* @return array<int, \Illuminate\Broadcasting\Channel>
* @return array<int, Channel>
*/
public function broadcastOn(): array
{
Expand Down
3 changes: 2 additions & 1 deletion app/Events/VoucherSets/VoucherSetWasUpdated.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Events\VoucherSets;

use App\Models\VoucherSet;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Foundation\Events\Dispatchable;
Expand All @@ -22,7 +23,7 @@ public function __construct(public VoucherSet $voucherSet) {}
/**
* Get the channels the event should broadcast on.
*
* @return array<int, \Illuminate\Broadcasting\Channel>
* @return array<int, Channel>
*/
public function broadcastOn(): array
{
Expand Down
3 changes: 2 additions & 1 deletion app/Events/Vouchers/VoucherWasCreated.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Events\Vouchers;

use App\Models\Voucher;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Foundation\Events\Dispatchable;
Expand All @@ -24,7 +25,7 @@ public function __construct(public Voucher $voucher) {}
/**
* Get the channels the event should broadcast on.
*
* @return array<int, \Illuminate\Broadcasting\Channel>
* @return array<int, Channel>
*/
public function broadcastOn(): array
{
Expand Down
Loading