Issues (9)

src/Operation/QueueableOperation.php (1 issue)

Severity
1
<?php
2
3
namespace Anfischer\Foundation\Operation;
4
5
use Illuminate\Queue\SerializesModels;
6
use Illuminate\Queue\InteractsWithQueue;
7
use Illuminate\Contracts\Queue\ShouldQueue;
8
use Illuminate\Bus\Queueable;
9
10
/**
11
 * An abstract Operation that can be managed with a queue
12
 * when extended the operation will be queued by default.
13
 */
14
class QueueableOperation extends Operation implements ShouldQueue
15
{
16
    use SerializesModels;
0 ignored issues
show
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Anfischer\Foundation\Operation\QueueableOperation: $id, $class, $relations
Loading history...
17
    use InteractsWithQueue;
18
    use Queueable;
19
}
20