We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class PageWasVisited |
||
| 13 | { |
||
| 14 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
|
|
|||
| 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) |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Get the channels the event should broadcast on. |
||
| 33 | * |
||
| 34 | * @return \Illuminate\Broadcasting\Channel|array |
||
| 35 | */ |
||
| 36 | public function broadcastOn() |
||
| 41 |