| 1 | <?php |
||
| 25 | class StatusSelectFactory implements FactoryInterface |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * |
||
| 29 | * |
||
| 30 | * @param ContainerInterface $container |
||
| 31 | * @param string $requestedName |
||
| 32 | * @param array $options |
||
|
|
|||
| 33 | * |
||
| 34 | * @return Select |
||
| 35 | */ |
||
| 36 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param ServiceLocatorInterface|AbstractPluginManager $serviceLocator |
||
| 53 | * |
||
| 54 | * @return Select |
||
| 55 | */ |
||
| 56 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
| 60 | } |
||
| 61 |
This check looks for
@paramannotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.