@@ -407,7 +407,7 @@ |
||
407 | 407 | $data['time'] = $fs->time( $data['attribute.code'] ); |
408 | 408 | $data['size'] = $fs->size( $data['attribute.code'] ); |
409 | 409 | } |
410 | - catch( \Exception $e ) { ; } // Show product even if file isn't available any more |
|
410 | + catch( \Exception $e ) {; } // Show product even if file isn't available any more |
|
411 | 411 | } |
412 | 412 | |
413 | 413 | return $data; |
@@ -8,10 +8,10 @@ |
||
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 | } |