From 6e4c40768def53bd4ee048352a9892e0edd268e8 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 18 Jun 2024 15:21:24 +0200 Subject: [PATCH] fix default values on evaluate method --- src/WithProductValueMediaFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WithProductValueMediaFile.php b/src/WithProductValueMediaFile.php index e99ef79..8a0f010 100644 --- a/src/WithProductValueMediaFile.php +++ b/src/WithProductValueMediaFile.php @@ -32,7 +32,7 @@ private function compile(string $code, string $attribute, string $locale = 'null /** * @return array */ - private function evaluate(array $context, string $code, string $attribute, string $locale = 'null', string $scope = 'null'): array + private function evaluate(array $context, string $code, string $attribute, string $locale = null, string $scope = null): array { return [ 'identifier' => $code,