Skip to content

Commit

Permalink
fix default values on evaluate method
Browse files Browse the repository at this point in the history
  • Loading branch information
JoMessina committed Jun 18, 2024
1 parent 753125d commit 6e4c407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WithProductValueMediaFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private function compile(string $code, string $attribute, string $locale = 'null
/**
* @return array<string, string>
*/
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,
Expand Down

0 comments on commit 6e4c407

Please sign in to comment.