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