1 | <?php |
||
11 | abstract class CommentHandler extends Handler |
||
12 | { |
||
13 | protected $xhr = true; |
||
14 | |||
15 | protected $destructive = false; |
||
16 | |||
17 | /** |
||
18 | * @param HTTPRequest $request |
||
19 | * @return HTTPResponse |
||
20 | */ |
||
21 | public function index(HTTPRequest $request) |
||
39 | |||
40 | /** |
||
41 | * @param Comment $comment |
||
42 | * |
||
43 | * @return Comment |
||
44 | */ |
||
45 | abstract public function updateComment($comment); |
||
46 | } |
||
47 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.