1 | <?php |
||
22 | final class Wsse implements Authentication |
||
23 | { |
||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | private $username; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | private $apiKey; |
||
33 | |||
34 | /** |
||
35 | * @param string $username |
||
36 | * @param string $password |
||
|
|||
37 | * @param mixed $apiKey |
||
38 | */ |
||
39 | 3 | public function __construct($username, $apiKey) |
|
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function authenticate(RequestInterface $request) |
||
74 | } |
||
75 |
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.