| 1 | <?php |
||
| 10 | class UserEvents { |
||
| 11 | |||
| 12 | /** @var MembersService */ |
||
| 13 | private $membersService; |
||
| 14 | |||
| 15 | /** @var MiscService */ |
||
| 16 | private $miscService; |
||
| 17 | |||
| 18 | public function __construct(MembersService $membersService, MiscService $miscService) { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param array $params |
||
| 25 | */ |
||
| 26 | public function onUserCreated(array $params) { |
||
| 29 | |||
| 30 | |||
| 31 | /** |
||
| 32 | * @param array $params |
||
| 33 | */ |
||
| 34 | public function onUserDeleted(array $params) { |
||
| 38 | |||
| 39 | } |
||
| 40 | |||
| 41 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.