1 | <?php |
||
27 | class Client implements ClientInterface |
||
28 | { |
||
29 | protected $soap; |
||
30 | protected $credentials; |
||
31 | |||
32 | /** |
||
33 | * Constructor |
||
34 | * |
||
35 | * @param object $soap Soap Client |
||
36 | */ |
||
37 | public function __construct(CredentialsInterface $credentials, $soap) |
||
42 | |||
43 | /** |
||
44 | * @param array $registrations |
||
45 | * |
||
46 | * @return object RegistrationsCreateResponse |
||
47 | */ |
||
48 | public function createNewRegistrations(array $registrations) |
||
67 | |||
68 | /** |
||
69 | * Gets new registrations |
||
70 | * |
||
71 | * @param string $weblist_id |
||
|
|||
72 | * |
||
73 | * @return Response |
||
74 | */ |
||
75 | public function getNewRegistrations() |
||
80 | |||
81 | /** |
||
82 | * Gets handled registrations |
||
83 | * |
||
84 | * @param string $weblist_id |
||
85 | * |
||
86 | * @return Response |
||
87 | */ |
||
88 | public function getHandledRegistrations() |
||
93 | |||
94 | /** |
||
95 | * Delete registrations |
||
96 | * |
||
97 | * @param string $weblist_id |
||
98 | * |
||
99 | * @return Response |
||
100 | */ |
||
101 | public function deleteRegistrations($weblist_id) |
||
105 | } |
||
106 |
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.