Skip to content

Commit 6e4c407

Browse files
committed
fix default values on evaluate method
1 parent 753125d commit 6e4c407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WithProductValueMediaFile.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private function compile(string $code, string $attribute, string $locale = 'null
3232
/**
3333
* @return array<string, string>
3434
*/
35-
private function evaluate(array $context, string $code, string $attribute, string $locale = 'null', string $scope = 'null'): array
35+
private function evaluate(array $context, string $code, string $attribute, string $locale = null, string $scope = null): array
3636
{
3737
return [
3838
'identifier' => $code,

0 commit comments

Comments
 (0)