Total Complexity | 3 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | final class MapProvider implements ProviderInterface |
||
15 | { |
||
16 | /** @var MultiBindings */ |
||
17 | private $multiBindings; |
||
18 | |||
19 | /** @var InjectionPointInterface */ |
||
20 | private $ip; |
||
21 | |||
22 | /** @var InjectorInterface */ |
||
23 | private $injector; |
||
24 | |||
25 | /** @var ParamReaderInterface */ |
||
26 | private $reader; |
||
27 | |||
28 | public function __construct( |
||
38 | } |
||
39 | |||
40 | public function get(): Map |
||
54 |
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: