| 1 | <?php |
||
| 10 | final class Configurator implements ContainerConfigurator |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var ServiceProviderInterface[] |
||
| 14 | */ |
||
| 15 | private $providers = []; |
||
| 16 | |||
| 17 | public function addApplicationConfig(ApplicationConfig $config, $prefix = 'config') |
||
| 21 | |||
| 22 | public function addServiceConfig(ServiceConfig $config) |
||
| 26 | |||
| 27 | public function addInflectorConfig(InflectorConfig $config) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @internal |
||
| 34 | * |
||
| 35 | * @return ServiceProviderInterface |
||
|
|
|||
| 36 | */ |
||
| 37 | public function getServiceProvider() |
||
| 41 | } |
||
| 42 |
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.