Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 2 | 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, array $orderStates = []): int |
||
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..