| Total Complexity | 3 | 
| Total Lines | 35 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 8 | class SubscriptionObserver | ||
| 9 | { | ||
| 10 | /** | ||
| 11 | * Handle the subscription "created" event. | ||
| 12 | * | ||
| 13 | * @param \Faithgen\Miscellaneous\Models\Subscription $subscription | ||
| 14 | * | ||
| 15 | * @return void | ||
| 16 | */ | ||
| 17 | public function created(Subscription $subscription) | ||
| 18 |     { | ||
| 19 | $subscription->notify(new ApproveSubscription()); | ||
| 20 | } | ||
| 21 | |||
| 22 | /** | ||
| 23 | * Handle the subscription "updated" event. | ||
| 24 | * | ||
| 25 | * @param \Faithgen\Miscellaneous\Models\Subscription $subscription | ||
| 26 | * | ||
| 27 | * @return void | ||
| 28 | */ | ||
| 29 | public function updated(Subscription $subscription) | ||
| 31 | // | ||
| 32 | } | ||
| 33 | |||
| 34 | /** | ||
| 35 | * Handle the subscription "deleted" event. | ||
| 36 | * | ||
| 37 | * @param \Faithgen\Miscellaneous\Models\Subscription $subscription | ||
| 38 | * | ||
| 39 | * @return void | ||
| 40 | */ | ||
| 41 | public function deleted(Subscription $subscription) | ||
| 46 | 
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.