chore: Make StoreApiResponse generic and add proper typing #280
php.yml
on: pull_request
php-cs-fixer
3m 40s
validate-openapi-typescript
4m 58s
Matrix: phpstan
Annotations
4 errors
phpstan (trunk):
src/Checkout/PUI/SalesChannel/PUIPaymentInstructionsResponse.php#L18
PHPDoc tag @extends contains generic type Shopware\Core\System\SalesChannel\StoreApiResponse<Shopware\Core\Framework\Struct\ArrayStruct> but class Shopware\Core\System\SalesChannel\StoreApiResponse is not generic.
|
phpstan (trunk):
src/Checkout/TokenResponse.php#L17
PHPDoc tag @extends contains generic type Shopware\Core\System\SalesChannel\StoreApiResponse<Shopware\Core\Framework\Struct\ArrayStruct> but class Shopware\Core\System\SalesChannel\StoreApiResponse is not generic.
|
phpstan (trunk):
src/Checkout/TokenResponse.php#L27
Call to an undefined method Shopware\Core\Framework\Struct\Struct::get().
|
phpstan (trunk)
Process completed with exit code 1.
|