| 1 | <?php |
||
| 9 | final class Configurator implements ContainerConfigurator |
||
| 10 | { |
||
| 11 | /** @var ConfigServiceProvider */ |
||
| 12 | private $provider; |
||
| 13 | |||
| 14 | public function addConfig(Config $config, $prefix = 'config') |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @internal |
||
| 21 | * |
||
| 22 | * @return ServiceProviderInterface |
||
|
|
|||
| 23 | */ |
||
| 24 | public function getServiceProvider() |
||
| 28 | } |
||
| 29 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.