Passed
Pull Request — master (#252)
by
unknown
03:07
created
src/Admin/JQAdm/Attribute/Media/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -278,8 +278,7 @@
 block discarded – undo
278 278
 				{
279 279
 					$propItem = $propItems[$entry['media.property.id']];
280 280
 					unset( $propItems[$entry['media.property.id']] );
281
-				}
282
-				else
281
+				} else
283 282
 				{
284 283
 					$propItem = $propManager->create();
285 284
 				}
Please login to merge, or discard this patch.
src/Admin/JQAdm/Attribute/Price/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -278,8 +278,7 @@
 block discarded – undo
278 278
 				{
279 279
 					$propItem = $propItems[$entry['price.property.id']];
280 280
 					unset( $propItems[$entry['price.property.id']] );
281
-				}
282
-				else
281
+				} else
283 282
 				{
284 283
 					$propItem = $propManager->create();
285 284
 				}
Please login to merge, or discard this patch.
src/Admin/JQAdm/Attribute/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -271,8 +271,7 @@
 block discarded – undo
271 271
 			{
272 272
 				$propItem = $propItems[$entry['attribute.property.id']];
273 273
 				unset( $propItems[$entry['attribute.property.id']] );
274
-			}
275
-			else
274
+			} else
276 275
 			{
277 276
 				$propItem = $manager->create();
278 277
 			}
Please login to merge, or discard this patch.
src/Admin/JQAdm/Common/Decorator/Page.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,7 @@
 block discarded – undo
48 48
 			] ) )->slice( 0, 1 );
49 49
 
50 50
 			$siteItem = $siteManager->search( $search )->first();
51
-		}
52
-		else
51
+		} else
53 52
 		{
54 53
 			$siteItem = $siteManager->find( $view->param( 'site', 'default' ) );
55 54
 		}
Please login to merge, or discard this patch.
src/Admin/JQAdm/Product/Media/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -278,8 +278,7 @@
 block discarded – undo
278 278
 				{
279 279
 					$propItem = $propItems[$entry['media.property.id']];
280 280
 					unset( $propItems[$entry['media.property.id']] );
281
-				}
282
-				else
281
+				} else
283 282
 				{
284 283
 					$propItem = $propManager->create();
285 284
 				}
Please login to merge, or discard this patch.
src/Admin/JQAdm/Product/Price/Property/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -278,8 +278,7 @@
 block discarded – undo
278 278
 				{
279 279
 					$propItem = $propItems[$entry['price.property.id']];
280 280
 					unset( $propItems[$entry['price.property.id']] );
281
-				}
282
-				else
281
+				} else
283 282
 				{
284 283
 					$propItem = $propManager->create();
285 284
 				}
Please login to merge, or discard this patch.
src/Admin/JQAdm/Product/Price/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -445,8 +445,7 @@
 block discarded – undo
445 445
 				$listItem = \Aimeos\MShop::create( $context, 'product' )->createListItem();
446 446
 				$item = $item->addListItem( 'attribute', $listItem->setType( 'custom' ), $attrItem );
447 447
 			}
448
-		}
449
-		else
448
+		} else
450 449
 		{
451 450
 			if( ( $litem = $item->getListItem( 'attribute', 'custom', $attrItem->getId(), false ) ) !== null ) {
452 451
 				$item = $item->deleteListItem( 'attribute', $litem );
Please login to merge, or discard this patch.
src/Admin/JQAdm/Product/Download/Standard.php 2 patches
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.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -407,7 +407,9 @@
 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 )
411
+			{
412
+; } // Show product even if file isn't available any more
411 413
 		}
412 414
 
413 415
 		return $data;
Please login to merge, or discard this patch.
src/Admin/JQAdm/Product/Physical/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -294,8 +294,7 @@
 block discarded – undo
294 294
 				$propItem->setValue( $value );
295 295
 
296 296
 				$item->addPropertyItem( $propItem );
297
-			}
298
-			else
297
+			} else
299 298
 			{
300 299
 				$item->deletePropertyItems( $propItems->toArray() );
301 300
 			}
Please login to merge, or discard this patch.