| 1 | <?php |
||
| 14 | class AuraSqlReplicationDbProvider implements ProviderInterface, SetContextInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var InjectorInterface |
||
| 18 | */ |
||
| 19 | private $injector; |
||
| 20 | |||
| 21 | /** |
||
| 22 | 6 | * @var ConnectionLocatorInterface |
|
| 23 | */ |
||
| 24 | 6 | private $connectionLocator; |
|
| 25 | 6 | ||
| 26 | /** |
||
| 27 | * @param ConnectionLocatorInterface $connectionLocator |
||
|
|
|||
| 28 | */ |
||
| 29 | public function __construct(InjectorInterface $injector) |
||
| 33 | 6 | ||
| 34 | /** |
||
| 35 | 6 | * {@inheritdoc} |
|
| 36 | */ |
||
| 37 | public function setContext($context) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | 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
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.