1 | <?php |
||
7 | class ObtainLetsEncryptCertificateCommand extends CertificateCommand |
||
8 | { |
||
9 | /** |
||
10 | * Resource path. |
||
11 | * |
||
12 | * @return string |
||
13 | */ |
||
14 | public function resourcePath() |
||
18 | |||
19 | /** |
||
20 | * Set LetsEncrypt certificate domains. |
||
21 | * |
||
22 | * @param string|array $domain |
||
|
|||
23 | * |
||
24 | * @return static |
||
25 | */ |
||
26 | public function usingDomains($domains) |
||
36 | } |
||
37 |
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.