1 | <?php |
||
25 | class RegistrationRepository |
||
26 | { |
||
27 | /** |
||
28 | * Constructor |
||
29 | * |
||
30 | * @param string $request Request object |
||
|
|||
31 | */ |
||
32 | 1 | public function __construct(ClientInterface $client) |
|
36 | |||
37 | /** |
||
38 | * Adds registration |
||
39 | * |
||
40 | * @param array $registration Array with registration options |
||
41 | * |
||
42 | * @return Response |
||
43 | */ |
||
44 | 1 | public function addRegistrations(array $registrations) |
|
48 | |||
49 | /** |
||
50 | * Gets new registrations |
||
51 | * |
||
52 | * @return Response |
||
53 | */ |
||
54 | public function getNewRegistrations() |
||
58 | |||
59 | /** |
||
60 | * Gets handled registrations |
||
61 | * |
||
62 | * @return Response |
||
63 | */ |
||
64 | public function getHandledRegistrations() |
||
68 | |||
69 | /** |
||
70 | * Deletes registrations |
||
71 | * |
||
72 | * @param string $weblist_id String with the id |
||
73 | * |
||
74 | * @return Response |
||
75 | */ |
||
76 | public function delete($weblist_id) |
||
80 | } |
||
81 |
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.