|
@@ -8,10 +8,10 @@ |
|
|
block discarded – undo |
|
8
|
8
|
|
|
9
|
9
|
$enc = $this->encoder(); |
|
10
|
10
|
|
|
11
|
|
-$propertyTypes = $this->get( 'propertyTypes', map()); |
|
|
11
|
+$propertyTypes = $this->get( 'propertyTypes', map() ); |
|
12
|
12
|
|
|
13
|
|
-if ( $propertyTypes->isEmpty() ) { |
|
14
|
|
- $propertyTypes = (object)[]; |
|
|
13
|
+if( $propertyTypes->isEmpty() ) { |
|
|
14
|
+ $propertyTypes = (object) []; |
|
15
|
15
|
} else { |
|
16
|
16
|
$propertyTypes = $propertyTypes->col( 'product.property.type.label', 'product.property.type.code' )->all(); |
|
17
|
17
|
} |
Please login to merge, or discard this patch.