Issues (6)

src/Events/BatchCompletedEvent.php (1 issue)

Severity
1
<?php
2
3
namespace Padosoft\SuperCacheInvalidate\Events;
4
5
class BatchCompletedEvent
6
{
7
    use \Illuminate\Foundation\Events\Dispatchable, \Illuminate\Queue\SerializesModels;
0 ignored issues
show
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Padosoft\SuperCacheInval...nts\BatchCompletedEvent: $collectionClass, $id, $relations, $class, $connection, $keyBy
Loading history...
8
9
    public string $batch_ID;
10
    public int $shard;
11
12
    public function __construct(string $batch_ID, int $shard)
13
    {
14
        $this->batch_ID = $batch_ID;
15
        $this->shard = $shard;
16
    }
17
}
18