1 | <?php |
||
36 | class FopGroup |
||
37 | { |
||
38 | /** |
||
39 | * @var FopReference |
||
40 | */ |
||
41 | public $fopReference; |
||
42 | /** |
||
43 | * @var PassengerAssociation[] |
||
44 | */ |
||
45 | public $passengerAssociation = []; |
||
46 | /** |
||
47 | * @var PnrElementAssociation[] |
||
48 | */ |
||
49 | public $pnrElementAssociation = []; |
||
50 | /** |
||
51 | * @var PricingTicketingDetails |
||
52 | */ |
||
53 | public $pricingTicketingDetails; |
||
54 | /** |
||
55 | * @var FeeTypeInfo |
||
56 | */ |
||
57 | public $feeTypeInfo; |
||
58 | /** |
||
59 | * @var FeeDetailsInfoGroup[] |
||
60 | */ |
||
61 | public $feeDetailsInfoGroup = []; |
||
62 | /** |
||
63 | * @var FpProcessingOptions |
||
64 | */ |
||
65 | public $fpProcessingOptions; |
||
66 | /** |
||
67 | * @var MopDescription[] |
||
68 | */ |
||
69 | public $mopDescription = []; |
||
70 | |||
71 | /** |
||
72 | * FopGroup constructor. |
||
73 | * |
||
74 | * @param Group $options |
||
75 | */ |
||
76 | public function __construct(Group $options) |
||
86 | |||
87 | /** |
||
88 | * @param Group $options |
||
89 | */ |
||
90 | protected function loadObFeeComp(Group $options) |
||
104 | |||
105 | /** |
||
106 | * @param PaxRef[] $paxRef |
||
107 | * @param ElementRef[] $elementRef |
||
108 | */ |
||
109 | protected function loadPaxElementRefs($paxRef, $elementRef) |
||
125 | } |
||
126 |
This check compares calls to functions or methods with their respective definitions. If the call has more arguments than are defined, it raises an issue.
If a function is defined several times with a different number of parameters, the check may pick up the wrong definition and report false positives. One codebase where this has been known to happen is Wordpress.
In this case you can add the
@ignore
PhpDoc annotation to the duplicate definition and it will be ignored.