1 | <?php |
||
26 | class FS |
||
27 | { |
||
28 | use \HOWI3\libhowi\Filesystem\Commons\TraitForResponse; |
||
29 | |||
30 | /** |
||
31 | * Initialize the filesystem |
||
32 | * |
||
33 | * @name $FS = FS::load( string $pathname | $ser_cwd_by_caller boolean true = false, PHP_VERSION_ID ); |
||
34 | * |
||
35 | * @param string|boolean $pathname|$ser_cwd_by_caller |
||
|
|||
36 | * Optional: defaults to false. |
||
37 | * If path is supplied then that will be current working directory. |
||
38 | * If boolean true is supplied it will try to set current working directory as one |
||
39 | * containing current script where FS::load() was called. |
||
40 | * @return Filesystem Returns filesystem object. |
||
41 | */ |
||
42 | 731 | public static function load($ser_cwd_by_caller = false, $PHP_VERSION_ID = PHP_VERSION_ID) |
|
68 | } |
||
69 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function. It has, however, found a similar but not annotated parameter which might be a good fit.
Consider the following example. The parameter
$ireland
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was changed, but the annotation was not.