| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 19 | class OrderItemRepository implements OrderItemRepositoryInterface |
||
| 20 | { |
||
| 21 | /** @var OrderItemRepositoryInterface */ |
||
| 22 | private $baseOrderItemRepository; |
||
| 23 | |||
| 24 | public function __construct(EntityRepository $baseOrderItemRepository) |
||
| 27 | } |
||
| 28 | |||
| 29 | public function countByVariant(ProductVariantInterface $variant): int |
||
| 44 |
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..