1 | <?php |
||
14 | class AuraSqlReplicationDbProvider implements ProviderInterface, SetContextInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var InjectorInterface |
||
18 | */ |
||
19 | private $injector; |
||
20 | |||
21 | /** |
||
22 | * @var ConnectionLocatorInterface |
||
23 | */ |
||
24 | private $connectionLocator; |
||
25 | |||
26 | /** |
||
27 | * @param ConnectionLocatorInterface $connectionLocator |
||
|
|||
28 | */ |
||
29 | 9 | public function __construct(InjectorInterface $injector) |
|
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | 9 | public function setContext($context) |
|
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | 9 | public function get() |
|
52 | } |
||
53 |
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.