optimizations
This commit is contained in:
16
app/Events/Collections/CollectionUnliked.php
Normal file
16
app/Events/Collections/CollectionUnliked.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Events\Collections;
|
||||
|
||||
use App\Models\Collection;
|
||||
use Illuminate\Foundation\Events\Dispatchable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class CollectionUnliked
|
||||
{
|
||||
use Dispatchable, SerializesModels;
|
||||
|
||||
public function __construct(public readonly Collection $collection, public readonly int $userId) {}
|
||||
}
|
||||
Reference in New Issue
Block a user