scandipwa / scandipwa

Next-generation front-end for Magento 2

Home Page:https://scandipwa.com/?utm_source=github&utm_medium=readme&utm_campaign=general

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Magento 2.4.5: Declaration of OrderFilter::createFilterGroups array must be compatible

davordragic opened this issue · comments

Steps to reproduce:

  1. install fresh Magento 2.4.5
  2. add Scandipwa composer modules
  3. bin/magneto setup:upgrade && bin/magento setup:di:compile
  4. error on compile

Actual result

Compilation was started.
Repositories code generation... 1/9 [===>------------------------]  11% < 1 sec 115.0 MiB
Fatal error: Declaration of ScandiPWA\SalesGraphQl\Model\Resolver\CustomerOrders\Query\OrderFilter::createFilterGroups(array $args, int $userId, int $storeId, array $storeIds): array must be compatible with Magento\SalesGraphQl\Model\Resolver\CustomerOrders\Query\OrderFilter::createFilterGroups(array $args, int $userId, int $storeId): array in /var/www/html/vendor/scandipwa/sales-graphql/Model/Resolver/CustomerOrders/Query/OrderFilter.php on line 91

Expected result
no error on setup:di:compile

Versions

  • ScandiPWA: scandipwa/source < not found? I copied all required from scandipwa composer.json to magento 2 composer.json and did composer update.
  • Magento 2.4.5 (in own docker container)