Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class ProxyBus implements BusFacadeInterface |
||
20 | { |
||
21 | /** @var ImplementorInterface [] */ |
||
22 | private $providers; |
||
23 | |||
24 | /** |
||
25 | * Bus constructor. |
||
26 | * |
||
27 | * @param array $providers |
||
28 | */ |
||
29 | public function __construct( |
||
30 | array $providers |
||
31 | ) { |
||
32 | $this->providers = $providers; |
||
|
|||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @inheritDoc |
||
37 | */ |
||
38 | public function execute(UseCaseCommandInterface $command): ResponseInterface |
||
50 | } |
||
51 | } |
||
52 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..