| 1 | <?php | ||
| 22 | class GroupCommand extends Command implements CommandInterface | ||
| 23 | { | ||
| 24 | /** | ||
| 25 | * @var string | ||
| 26 | */ | ||
| 27 | private $group; | ||
| 28 | |||
| 29 | /** | ||
| 30 | * Constructor. | ||
| 31 | * | ||
| 32 | * @param string $group the name of the group | ||
| 33 | */ | ||
| 34 | 6 | public function __construct($group) | |
| 40 | |||
| 41 | /** | ||
| 42 |      * {@inheritdoc} | ||
| 43 | */ | ||
| 44 | 1 | public function __invoke() | |
| 48 | |||
| 49 | /** | ||
| 50 | * @return array | ||
| 51 | */ | ||
| 52 | 1 | public function onGroupSelected(Response $response) | |
| 56 | |||
| 57 | 1 | public function onNoSuchGroup(Response $response) | |
| 61 | } | ||
| 62 | 
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.