1 | <?php |
||
38 | class ProcessETicket extends BaseWsMessage |
||
39 | { |
||
40 | /** |
||
41 | * @var MsgActionDetails |
||
42 | */ |
||
43 | public $msgActionDetails; |
||
44 | |||
45 | /** |
||
46 | * @var TicketInfoGroup[] |
||
47 | */ |
||
48 | public $ticketInfoGroup = []; |
||
49 | |||
50 | |||
51 | /** |
||
52 | * ProcessETicket constructor. |
||
53 | * |
||
54 | * @param TicketProcessETicketOptions $options |
||
55 | */ |
||
56 | 8 | public function __construct(TicketProcessETicketOptions $options) |
|
61 | |||
62 | /** |
||
63 | * @param string $ticketNumber |
||
64 | */ |
||
65 | 8 | protected function loadOptions($ticketNumber) |
|
71 | |||
72 | /** |
||
73 | * @param string $action |
||
74 | * @param string[] $additionalActions |
||
|
|||
75 | */ |
||
76 | 8 | protected function loadMsgAction($action) |
|
82 | } |
||
83 |
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.