| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
| 25 | { |
||
| 26 | /* @var $serviceLocator ServiceLocatorInterface */ |
||
| 27 | $serviceLocator = $serviceLocator->getServiceLocator(); |
||
| 28 | |||
| 29 | return new \Auth\Controller\RemoveController($serviceLocator->get('Auth/Dependency/Manager')); |
||
| 30 | } |
||
| 31 | } |
||
| 32 |
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.