1 | <?php |
||
31 | class CleanupTransferRequests extends TimedJob { |
||
32 | |||
33 | /** |
||
34 | * Default interval in minutes |
||
35 | * |
||
36 | * @var int $defaultIntervalMin |
||
37 | **/ |
||
38 | protected $defaultIntervalMin = 60; |
||
39 | /** @var TransferRequestMapper */ |
||
40 | private $mapper; |
||
41 | |||
42 | /** |
||
43 | * CleanupTransferRequests constructor. |
||
44 | * |
||
45 | * @param LockMapper $lockMapper |
||
|
|||
46 | */ |
||
47 | public function __construct(TransferRequestMapper $mapper) { |
||
51 | |||
52 | /** |
||
53 | * @param $argument |
||
54 | */ |
||
55 | public function run($argument) { |
||
58 | } |
||
59 |
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.