diff --git a/CHANGELOG.md b/CHANGELOG.md index b8aaf56..d683b18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + ## [0.13.0] ### Added - Copied GraphQL `url_webp` from Hyva compatibility module to here diff --git a/GraphQl/Resolver/WebpUrl.php b/GraphQl/Resolver/WebpUrl.php index 8093fe0..5f13da0 100644 --- a/GraphQl/Resolver/WebpUrl.php +++ b/GraphQl/Resolver/WebpUrl.php @@ -6,10 +6,10 @@ use Magento\Framework\Exception\FileSystemException; use Magento\Framework\Exception\NoSuchEntityException; use Magento\Framework\GraphQl\Config\Element\Field; +use Magento\Framework\GraphQl\Query\Resolver\ContextInterface; use Magento\Framework\GraphQl\Query\Resolver\Value; use Magento\Framework\GraphQl\Query\ResolverInterface; use Magento\Framework\GraphQl\Schema\Type\ResolveInfo; -use Magento\TestFramework\Helper\Bootstrap; use Yireo\NextGenImages\Config\Config; use Yireo\NextGenImages\Exception\ConvertorException; use Yireo\NextGenImages\Image\ImageFactory; @@ -56,8 +56,10 @@ public function __construct( } /** + * Resolve this GraphQL request + * * @param Field $field - * @param $context + * @param ContextInterface $context * @param ResolveInfo $info * @param array|null $value * @param array|null $args