| 1 | <?php |
||
| 22 | class PostCommand extends Command implements CommandInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * Constructor. |
||
| 26 | */ |
||
| 27 | 8 | public function __construct() |
|
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | 1 | public function execute() |
|
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | 2 | public function getExpectedResponseCodes() |
|
| 50 | |||
| 51 | 1 | public function onSendArticle(Response $response) |
|
| 55 | |||
| 56 | 1 | public function onPostingNotPermitted(Response $response) |
|
| 60 | } |
||
| 61 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.