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