1 | <?php |
||
5 | class TwilioNotifyMessage extends TwilioMessage |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * service sid |
||
10 | * |
||
11 | * @var null|string |
||
12 | */ |
||
13 | public $service_sid = null; |
||
14 | |||
15 | /** |
||
16 | * get Service Id |
||
17 | * |
||
18 | * @return mixed |
||
19 | */ |
||
20 | public function getServiceSid() |
||
24 | |||
25 | /** |
||
26 | * set Service Id |
||
27 | * |
||
28 | * @param string $service_id |
||
|
|||
29 | * @return $this |
||
30 | */ |
||
31 | public function setServiceSid($service_sid) |
||
37 | } |
||
38 |
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.