| Total Complexity | 8 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 84.21% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class EventSubscriber |
||
| 10 | { |
||
| 11 | /** @var Valet */ |
||
| 12 | protected $valet; |
||
| 13 | |||
| 14 | 193 | public function __construct(Valet $valet) |
|
| 15 | { |
||
| 16 | 193 | $this->valet = $valet; |
|
| 17 | 193 | } |
|
| 18 | |||
| 19 | 2 | public function siteSecured(SiteSecured $event) |
|
| 23 | } |
||
| 24 | 2 | } |
|
| 25 | |||
| 26 | 2 | public function siteUnsecured(SiteUnsecured $event) |
|
| 30 | } |
||
| 31 | 2 | } |
|
| 32 | |||
| 33 | 1 | public function siteRemoved(SiteRemoved $event) |
|
| 37 | } |
||
| 38 | 1 | } |
|
| 39 | |||
| 40 | /** |
||
| 41 | * Register the listeners for the subscriber. |
||
| 42 | * |
||
| 43 | * @param \Illuminate\Events\Dispatcher $events |
||
| 44 | * |
||
| 45 | * @return void |
||
| 46 | */ |
||
| 47 | 193 | public function subscribe($events) |
|
| 54 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.