diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index f15bbe9..577f83b 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -9,4 +9,4 @@ jobs: - uses: actions/checkout@v4 - uses: extdn/github-actions-m2/magento-phpstan@master with: - composer_name: customgento/module-mass-update-tier-prices-m2 + composer_name: customgento/module-youtube-no-cookie-m2 diff --git a/Plugin/Catalog/Product/ChangeVideoUrlPlugin.php b/Plugin/Catalog/Product/ChangeVideoUrlPlugin.php index e7b955f..a451648 100644 --- a/Plugin/Catalog/Product/ChangeVideoUrlPlugin.php +++ b/Plugin/Catalog/Product/ChangeVideoUrlPlugin.php @@ -22,6 +22,9 @@ public function __construct(VideoUrlConverter $videoLinkConverter) $this->videoUrlConverter = $videoLinkConverter; } + /** + * @SuppressWarnings(PHPMD.UnusedFormalParameter) + */ public function afterGetMediaGalleryImages(Product $product, Collection $collection): Collection { $collection->walk(function (DataObject $object) {