File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
sylius/b2b-kit/3.0/src/Repository Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,15 @@ class ProductRepository extends BaseProductRepository
1818
1919 public function __construct (
2020 EntityManagerInterface $ entityManager ,
21- ClassMetadata $ class ,
21+ ClassMetadata $ classMetadata ,
2222 protected B2BKitProductVisibilityFilteringCheckerInterface $ productVisibilityFilteringChecker ,
2323 protected CustomerContextInterface $ customerContext ,
24- ) {
25- parent ::__construct ($ entityManager , $ class );
24+ )
25+ {
26+ parent ::__construct ($ entityManager , $ classMetadata );
2627 }
2728
28- public function createQueryBuilder ($ alias , $ indexBy = null ): QueryBuilder
29+ public function createQueryBuilder (string $ alias , string $ indexBy = null ): QueryBuilder
2930 {
3031 return $ this ->createFilteredQueryBuilder (
3132 parent ::createQueryBuilder ($ alias , $ indexBy ),
You can’t perform that action at this time.
0 commit comments