| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class ContainerClassMapPass implements CompilerPassInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var ContainerBuilder |
||
| 25 | */ |
||
| 26 | private $classMapBuilder; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param ClassMapBuilder $classMapBuilder |
||
| 30 | */ |
||
| 31 | 19 | public function __construct(ClassMapBuilder $classMapBuilder) |
|
| 32 | { |
||
| 33 | 19 | $this->classMapBuilder = $classMapBuilder; |
|
|
|
|||
| 34 | 19 | } |
|
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | 19 | public function process(ContainerBuilder $container) |
|
| 45 | 19 | } |
|
| 46 | } |
||
| 47 |
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..