Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Issues (184)

app/Events/PageWasVisited.php (1 issue)

Severity
1
<?php
2
3
namespace App\Events;
4
5
use App\Model\Page;
6
use Illuminate\Broadcasting\Channel;
7
use Illuminate\Queue\SerializesModels;
8
use Illuminate\Broadcasting\PrivateChannel;
9
use Illuminate\Foundation\Events\Dispatchable;
10
use Illuminate\Broadcasting\InteractsWithSockets;
11
12
class PageWasVisited
13
{
14
    use Dispatchable, InteractsWithSockets, SerializesModels;
0 ignored issues
show
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by App\Events\PageWasVisited: $id, $class, $connection
Loading history...
15
16
    /**
17
     * @var Page
18
     */
19
    public $page;
20
21
    /**
22
     * Create a new event instance.
23
     *
24
     * @param Page $page
25
     */
26
    public function __construct(Page $page)
27
    {
28
        $this->page = $page;
29
    }
30
31
    /**
32
     * Get the channels the event should broadcast on.
33
     *
34
     * @return \Illuminate\Broadcasting\Channel|array
35
     */
36
    public function broadcastOn()
37
    {
38
        return new PrivateChannel('channel-name');
39
    }
40
}
41