| Total Complexity | 3 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class UploadSubscriber |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Listen when the upload has been executed with success. |
||
| 9 | * |
||
| 10 | * @param mixed $event |
||
| 11 | * @return void |
||
| 12 | */ |
||
| 13 | 15 | public function onSuccess($event) |
|
| 15 | // |
||
| 16 | 15 | } |
|
| 17 | |||
| 18 | /** |
||
| 19 | * Listen when the upload has failed. |
||
| 20 | * |
||
| 21 | * @param mixed $event |
||
| 22 | * @return void |
||
| 23 | */ |
||
| 24 | 1 | public function onFailure($event) |
|
| 28 | 1 | } |
|
| 29 | |||
| 30 | /** |
||
| 31 | * Register the listeners for the subscriber. |
||
| 32 | * |
||
| 33 | * @param \Illuminate\Events\Dispatcher $events |
||
| 34 | * @return void |
||
| 35 | */ |
||
| 36 | 93 | public function subscribe($events) |
|
| 49 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.