Completed
Push — 19.x ( 24d584 )
by Tim
02:01
created
src/Observers/AttributeOptionSwatchFileUploadObserver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Loaders/RawEntityLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,8 @@
 block discarded – undo
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
Please login to merge, or discard this patch.