Skip to content

chore: Make StoreApiResponse generic and add proper typing #280

chore: Make StoreApiResponse generic and add proper typing

chore: Make StoreApiResponse generic and add proper typing #280

Triggered via pull request February 3, 2025 14:41
Status Failure
Total duration 7m 38s
Artifacts

php.yml

on: pull_request
php-cs-fixer
3m 40s
php-cs-fixer
validate-openapi-typescript
4m 58s
validate-openapi-typescript
Matrix: phpstan
Fit to window
Zoom out
Zoom in

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.