Passed
Pull Request — master (#252)
by
unknown
03:07
created
src/Admin/JQAdm/Product/Download/Standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -407,7 +407,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
templates/admin/jqadm/product/item-characteristic-property.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -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.