Skip to content

Commit a6238ca

Browse files
authored
Removed unused InteractsWithSockets trait from event classes (#2208)
1 parent 7d02cf1 commit a6238ca

10 files changed

+10
-20
lines changed

app/Events/SpeedtestBenchmarkFailed.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
namespace App\Events;
44

55
use App\Models\Result;
6-
use Illuminate\Broadcasting\InteractsWithSockets;
76
use Illuminate\Foundation\Events\Dispatchable;
87
use Illuminate\Queue\SerializesModels;
98

109
class SpeedtestBenchmarkFailed
1110
{
12-
use Dispatchable, InteractsWithSockets, SerializesModels;
11+
use Dispatchable, SerializesModels;
1312

1413
/**
1514
* Create a new event instance.

app/Events/SpeedtestBenchmarkPassed.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
namespace App\Events;
44

55
use App\Models\Result;
6-
use Illuminate\Broadcasting\InteractsWithSockets;
76
use Illuminate\Foundation\Events\Dispatchable;
87
use Illuminate\Queue\SerializesModels;
98

109
class SpeedtestBenchmarkPassed
1110
{
12-
use Dispatchable, InteractsWithSockets, SerializesModels;
11+
use Dispatchable, SerializesModels;
1312

1413
/**
1514
* Create a new event instance.

app/Events/SpeedtestBenchmarking.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
namespace App\Events;
44

55
use App\Models\Result;
6-
use Illuminate\Broadcasting\InteractsWithSockets;
76
use Illuminate\Foundation\Events\Dispatchable;
87
use Illuminate\Queue\SerializesModels;
98

109
class SpeedtestBenchmarking
1110
{
12-
use Dispatchable, InteractsWithSockets, SerializesModels;
11+
use Dispatchable, SerializesModels;
1312

1413
/**
1514
* Create a new event instance.

app/Events/SpeedtestChecking.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
namespace App\Events;
44

55
use App\Models\Result;
6-
use Illuminate\Broadcasting\InteractsWithSockets;
76
use Illuminate\Foundation\Events\Dispatchable;
87
use Illuminate\Queue\SerializesModels;
98

109
class SpeedtestChecking
1110
{
12-
use Dispatchable, InteractsWithSockets, SerializesModels;
11+
use Dispatchable, SerializesModels;
1312

1413
/**
1514
* Create a new event instance.

app/Events/SpeedtestCompleted.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
namespace App\Events;
44

55
use App\Models\Result;
6-
use Illuminate\Broadcasting\InteractsWithSockets;
76
use Illuminate\Foundation\Events\Dispatchable;
87
use Illuminate\Queue\SerializesModels;
98

109
class SpeedtestCompleted
1110
{
12-
use Dispatchable, InteractsWithSockets, SerializesModels;
11+
use Dispatchable, SerializesModels;
1312

1413
/**
1514
* Create a new event instance.

app/Events/SpeedtestFailed.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
namespace App\Events;
44

55
use App\Models\Result;
6-
use Illuminate\Broadcasting\InteractsWithSockets;
76
use Illuminate\Foundation\Events\Dispatchable;
87
use Illuminate\Queue\SerializesModels;
98

109
class SpeedtestFailed
1110
{
12-
use Dispatchable, InteractsWithSockets, SerializesModels;
11+
use Dispatchable, SerializesModels;
1312

1413
/**
1514
* Create a new event instance.

app/Events/SpeedtestRunning.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
namespace App\Events;
44

55
use App\Models\Result;
6-
use Illuminate\Broadcasting\InteractsWithSockets;
76
use Illuminate\Foundation\Events\Dispatchable;
87
use Illuminate\Queue\SerializesModels;
98

109
class SpeedtestRunning
1110
{
12-
use Dispatchable, InteractsWithSockets, SerializesModels;
11+
use Dispatchable, SerializesModels;
1312

1413
/**
1514
* Create a new event instance.

app/Events/SpeedtestSkipped.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
namespace App\Events;
44

55
use App\Models\Result;
6-
use Illuminate\Broadcasting\InteractsWithSockets;
76
use Illuminate\Foundation\Events\Dispatchable;
87
use Illuminate\Queue\SerializesModels;
98

109
class SpeedtestSkipped
1110
{
12-
use Dispatchable, InteractsWithSockets, SerializesModels;
11+
use Dispatchable, SerializesModels;
1312

1413
/**
1514
* Create a new event instance.

app/Events/SpeedtestStarted.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
namespace App\Events;
44

55
use App\Models\Result;
6-
use Illuminate\Broadcasting\InteractsWithSockets;
76
use Illuminate\Foundation\Events\Dispatchable;
87
use Illuminate\Queue\SerializesModels;
98

109
class SpeedtestStarted
1110
{
12-
use Dispatchable, InteractsWithSockets, SerializesModels;
11+
use Dispatchable, SerializesModels;
1312

1413
/**
1514
* Create a new event instance.

app/Events/SpeedtestWaiting.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
namespace App\Events;
44

55
use App\Models\Result;
6-
use Illuminate\Broadcasting\InteractsWithSockets;
76
use Illuminate\Foundation\Events\Dispatchable;
87
use Illuminate\Queue\SerializesModels;
98

109
class SpeedtestWaiting
1110
{
12-
use Dispatchable, InteractsWithSockets, SerializesModels;
11+
use Dispatchable, SerializesModels;
1312

1413
/**
1514
* Create a new event instance.

0 commit comments

Comments
 (0)