| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 5 | 
| Code Lines | 3 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 4 | 
| CRAP Score | 1 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 21 | 1 | public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null): array  | 
            |
| 22 |     { | 
            ||
| 23 | 1 | $entityManager = $container->get(EntityManager::class);  | 
            |
| 24 | 1 | $configuration = $container->get(Configuration::class);  | 
            |
| 25 | 1 | return $this->factory($entityManager, $configuration);  | 
            |
| 
                                                                                                    
                        
                         | 
                |||
| 26 | }  | 
            ||
| 28 | 
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: