1 | <?php |
||
19 | class ScribuntoLuaLibrary extends Scribunto_LuaLibraryBase { |
||
20 | |||
21 | /** |
||
22 | * @since 1.0 |
||
23 | */ |
||
24 | 5 | public function register() { |
|
33 | |||
34 | /** |
||
35 | * Returns query results in for of the standard API return format |
||
36 | * |
||
37 | * @since 1.0 |
||
38 | * |
||
39 | * @param string $queryString |
||
|
|||
40 | * |
||
41 | * @return array |
||
42 | */ |
||
43 | 2 | public function getQueryResult( $argString = null ) { |
|
68 | |||
69 | /** |
||
70 | * Returns property type |
||
71 | * |
||
72 | * @since 1.0 |
||
73 | * |
||
74 | * @param string $propertyName |
||
75 | * |
||
76 | * @return array |
||
77 | */ |
||
78 | 3 | public function getPropertyType( $propertyName = null ) { |
|
95 | |||
96 | } |
||
97 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.