Skip to content

Commit

Permalink
remove useless parenthesis on MediaFile expression
Browse files Browse the repository at this point in the history
  • Loading branch information
JoMessina committed Apr 30, 2024
1 parent 3179276 commit 8e9e6e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/WithProductValueMediaFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ public function __construct($name)
private function compile(string $code, string $attribute, string $locale = 'null', string $scope = 'null'): string
{
return <<<PHP
([
'identifier' => ({$code}),
'attribute' => ({$attribute}),
[
'identifier' => {$code},
'attribute' => {$attribute},
'locale' => {$locale},
'scope' => {$scope},
])
]
PHP;
}

Expand Down

0 comments on commit 8e9e6e9

Please sign in to comment.