1 | <?php |
||
13 | class DeliveryConfirmation implements NodeInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var |
||
17 | * |
||
18 | * 1 => 'Delivery Confirmation Signature Required' |
||
19 | * 2 => 'Delivery Confirmation Adult Signature Required.' |
||
20 | */ |
||
21 | private $dcisType = 1; |
||
22 | |||
23 | /** |
||
24 | * @param null|DOMDocument $document |
||
25 | * |
||
26 | * @return DOMElement |
||
27 | */ |
||
28 | public function toNode(DOMDocument $document = null) |
||
40 | |||
41 | /** |
||
42 | * @param mixed $SaturdayPickup |
||
|
|||
43 | * @return $this |
||
44 | */ |
||
45 | public function getDcisType() |
||
49 | |||
50 | /** |
||
51 | * @param mixed $dcisTypeId |
||
52 | * @return $this |
||
53 | */ |
||
54 | public function setDcisType($dcisTypeId) |
||
60 | |||
61 | } |
||
62 |
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.