Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
kenza-ya committed Jun 25, 2024
1 parent 28834ca commit 00fd959
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Observers/AttributeObserverTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,6 @@ protected function process()
*/
public function getRequiredEmptyAttributes($headers, $attributes)
{
// load the attribute set name
$attributeSetName = $this->getValue('attribute_set_code');
$emptyAttributes = [];
foreach (array_values($headers) as $header) {
if (in_array($header, array_keys($attributes))) {
Expand Down

0 comments on commit 00fd959

Please sign in to comment.