| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 22 | public function __construct(array $providers) |
||
| 23 | { |
||
| 24 | $this->providers = $providers; |
||
| 25 | |||
| 26 | $this->provides = array_reduce( |
||
|
|
|||
| 27 | $this->providers, |
||
| 28 | function (array $provides, ServiceProviderInterface $provider) { |
||
| 29 | return array_merge($provides, $provider->provides()); |
||
| 30 | }, |
||
| 31 | [] |
||
| 32 | ); |
||
| 33 | } |
||
| 34 | |||
| 60 |
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..