1 | <?php |
||
23 | class Broadcast implements LoggerAwareInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var \XMLWriter |
||
27 | */ |
||
28 | protected $writer; |
||
29 | |||
30 | /** |
||
31 | * @var \SoapClient |
||
32 | */ |
||
33 | protected $client; |
||
34 | |||
35 | /** |
||
36 | * @var LoggerInterface |
||
37 | */ |
||
38 | protected $logger = null; |
||
39 | |||
40 | /** |
||
41 | * @param \SoapClient $client |
||
42 | * @param string $list |
||
|
|||
43 | * @param string $campaign |
||
44 | */ |
||
45 | 3 | public function __construct(\SoapClient $client) |
|
50 | |||
51 | /** |
||
52 | * {@inheritDoc} |
||
53 | */ |
||
54 | 2 | public function setLogger(LoggerInterface $logger) |
|
58 | |||
59 | /** |
||
60 | * @param Campaign $campaign |
||
61 | * @return CreateCampaignResponse |
||
62 | */ |
||
63 | 3 | public function triggerCampaign(Campaign $campaign) |
|
100 | } |
||
101 |
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.