feat: productAttributes
query implemented
#317
Annotations
8 errors and 1 warning
Run PHPStan:
includes/data/connection/class-product-attribute-connection-resolver.php#L74
Property WPGraphQL\WooCommerce\Data\Connection\Product_Attribute_Connection_Resolver::$type (string) does not accept string|null.
|
Run PHPStan:
includes/data/connection/class-product-attribute-connection-resolver.php#L92
Method WPGraphQL\WooCommerce\Data\Connection\Product_Attribute_Connection_Resolver::get_items() is unused.
|
Run PHPStan:
includes/data/connection/class-product-attribute-connection-resolver.php#L99
Property WPGraphQL\WooCommerce\Data\Connection\Product_Attribute_Connection_Resolver::$type (string) does not accept string|null.
|
Run PHPStan:
includes/data/connection/class-product-attribute-connection-resolver.php#L124
Property WPGraphQL\WooCommerce\Data\Connection\Product_Attribute_Connection_Resolver::$type (string) does not accept string|null.
|
Run PHPStan:
includes/data/connection/class-product-attribute-connection-resolver.php#L206
Method WPGraphQL\WooCommerce\Data\Connection\Product_Attribute_Connection_Resolver::build_connection() never returns array so it can be removed from the return type.
|
Run PHPStan:
includes/data/connection/class-product-attribute-connection-resolver.php#L216
Variable $attributes in empty() is never defined.
|
Run PHPStan:
includes/type/interface/class-product-with-attributes.php#L84
Class WPGraphQL\WooCommerce\Data\Connection\Product_Attribute_Connection_Resolver constructor invoked with 0 parameters, 4-5 required.
|
Run PHPStan
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/cancel-workflow-action@0.11.0, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading