| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | final class MapProvider implements ProviderInterface |
||
| 17 | { |
||
| 18 | public function __construct(private readonly InjectionPointInterface $ip, private MultiBindings $multiBindings, private readonly InjectorInterface $injector) |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return Map<mixed> |
||
| 24 | */ |
||
| 25 | public function get(): Map |
||
| 42 |
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: