| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | 93 | public function subscribe($events) |
|
| 37 | { |
||
| 38 | 93 | $events->listen( |
|
| 39 | 93 | 'Lincable\Eloquent\Events\UploadSuccess', |
|
| 40 | 93 | 'Lincable\Eloquent\Subscribers\UploadSubscriber@onSuccess' |
|
| 41 | ); |
||
| 42 | |||
| 43 | 93 | $events->listen( |
|
| 44 | 93 | 'Lincable\Eloquent\Events\UploadFailure', |
|
| 45 | 93 | 'Lincable\Eloquent\Subscribers\UploadSubscriber@onFailure' |
|
| 46 | ); |
||
| 49 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.