Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
18 | 18 | public function load(array $configs, ContainerBuilder $containerBuilder): void |
|
19 | { |
||
20 | 18 | $this->configBuilder = ConfigArrayBuilder::fromConfigs($configs); |
|
|
|||
21 | |||
22 | 18 | $extensionConfigurator = new ProophExtensionConfigurator($containerBuilder); |
|
23 | |||
24 | 18 | $this->configBuilder->mergeDefaultConfig($extensionConfigurator->buildDefaultConfig()); |
|
25 | |||
26 | 18 | $extensionConfigurator->configureWithConfig($this->configBuilder->build()); |
|
27 | 16 | } |
|
28 | } |
||
30 |
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..