1 | <?php |
||
24 | class VerifiedSecondFactorSearchQuery implements HttpQuery |
||
25 | { |
||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $identityId; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | private $secondFactorId; |
||
35 | |||
36 | /** |
||
37 | * @var string |
||
38 | */ |
||
39 | private $registrationCode; |
||
40 | |||
41 | /** |
||
42 | * @var string |
||
43 | */ |
||
44 | private $actorInstitution; |
||
45 | /** |
||
46 | * @var string |
||
47 | */ |
||
48 | private $actorId; |
||
49 | |||
50 | /** |
||
51 | * @param string $identityId |
||
52 | * @return self |
||
53 | */ |
||
54 | public function setIdentityId($identityId) |
||
62 | |||
63 | /** |
||
64 | * @param string $secondFactorId |
||
65 | * @return self |
||
66 | */ |
||
67 | public function setSecondFactorId($secondFactorId) |
||
75 | |||
76 | /** |
||
77 | * @param string $registrationCode |
||
78 | * @return self |
||
79 | */ |
||
80 | public function setRegistrationCode($registrationCode) |
||
88 | |||
89 | /** |
||
90 | * @param string $actorInstitution |
||
91 | * @return VerifiedSecondFactorSearchQuery |
||
92 | */ |
||
93 | public function setActorInstitution($actorInstitution) |
||
101 | |||
102 | /** |
||
103 | * @param string $actorInstitution |
||
|
|||
104 | * @return VerifiedSecondFactorSearchQuery |
||
105 | */ |
||
106 | public function setActorId($actorId) |
||
114 | |||
115 | private function assertNonEmptyString($value, $name) |
||
125 | |||
126 | public function toHttpQuery() |
||
150 | } |
||
151 |
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.