@@ -47,7 +47,7 @@ |
||
| 47 | 47 | )); |
| 48 | 48 | |
| 49 | 49 | // skip this step for color swatches and text swatches |
| 50 | - if (isset($attributeOptionSwatch[MemberNames::TYPE]) && $attributeOptionSwatch[MemberNames::TYPE] === SwatchTypes::IMAGE) { |
|
| 50 | + if (isset($attributeOptionSwatch[MemberNames::TYPE]) && $attributeOptionSwatch[MemberNames::TYPE] === SwatchTypes::IMAGE) { |
|
| 51 | 51 | // upload the file to the configured directory |
| 52 | 52 | $imagePath = $this->getSubject()->uploadFile($attributeOptionSwatch[MemberNames::VALUE]); |
| 53 | 53 | |
@@ -86,8 +86,8 @@ |
||
| 86 | 86 | // load the columns from the metadata |
| 87 | 87 | $columns = array_filter( |
| 88 | 88 | $columnMetadataLoader->load($entityType), |
| 89 | - function ($value) { |
|
| 90 | - return $value['Key'] !== 'PRI' && $value['Null'] === 'NO' ; |
|
| 89 | + function($value) { |
|
| 90 | + return $value['Key'] !== 'PRI' && $value['Null'] === 'NO'; |
|
| 91 | 91 | } |
| 92 | 92 | ); |
| 93 | 93 | // initialize the raw entities and their default values, if available |