1 | <?php |
||
10 | class remote_plugin_testing_auto extends RemotePlugin |
||
11 | { |
||
12 | /** |
||
13 | * This is a dummy method |
||
14 | * |
||
15 | * @param string $str some more parameter description |
||
16 | * @param int $int |
||
17 | * @param bool $bool |
||
18 | * @param Object $unknown |
||
19 | * @return array |
||
20 | */ |
||
21 | public function commented($str, $int, $bool, $unknown) |
||
25 | |||
26 | /** |
||
27 | * This should not be accessible via API |
||
28 | * @return bool |
||
29 | */ |
||
30 | private function privateMethod() |
||
34 | |||
35 | /** |
||
36 | * This should not be accessible via API |
||
37 | * @return bool |
||
38 | */ |
||
39 | protected function protectedMethod() |
||
43 | |||
44 | /** |
||
45 | * This should not be accessible via API |
||
46 | * @return bool |
||
47 | */ |
||
48 | public function _underscore() |
||
52 | } |
||
53 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.