rename model in singular
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Events;
|
||||
|
||||
use App\Models\Events;
|
||||
use App\Models\Event;
|
||||
use App\Models\Task;
|
||||
use Illuminate\Broadcasting\Channel;
|
||||
use Illuminate\Broadcasting\InteractsWithSockets;
|
||||
@@ -24,7 +24,7 @@ class VolunteerAssignedToTask implements ShouldBroadcastNow
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*/
|
||||
public function __construct($userId, Task $task, Events $event)
|
||||
public function __construct($userId, Task $task, Event $event)
|
||||
{
|
||||
$this->userId = $userId;
|
||||
$this->task = $task;
|
||||
|
||||
Reference in New Issue
Block a user