Passed
Push — laravel-5 ( 66f120...6eb64b )
by Robert
02:51
created

src/Events/TagAdded.php (1 issue)

1
<?php namespace Conner\Tagging\Events;
2
3
use Conner\Tagging\Taggable;
4
use Illuminate\Queue\SerializesModels;
5
use Illuminate\Database\Eloquent\Model;
6
7
class TagAdded
8
{
9
    use SerializesModels;
0 ignored issues
show
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Conner\Tagging\Events\TagAdded: $id, $class, $connection, $relations
Loading history...
10
11
    /** @var \Illuminate\Database\Eloquent\Model **/
12
    public $model;
13
14
    /**
15
     * Create a new event instance.
16
     *
17
     * @param Taggable|Model $model
18
     * @return void
19
     */
20
    public function __construct($model)
21
    {
22
        $this->model = $model;
23
    }
24
}