Passed
Push — master ( 7d8ed5...17349c )
by Aimeos
05:17
created
lib/mshoplib/setup/default/DemoAddCatalogData.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 			$this->removeItems( $item->getId(), 'catalog/lists', 'catalog', 'text' );
64 64
 			$this->removeListItems( $item->getId(), 'catalog/lists', 'product' );
65 65
 		}
66
-		catch( \Exception $e ) { ; } // If no root node was already inserted into the database
66
+		catch( \Exception $e ) {; } // If no root node was already inserted into the database
67 67
 
68 68
 		$search = $manager->filter();
69 69
 		$search->setConditions( $search->compare( '=~', 'catalog.code', 'demo-' ) );
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,9 @@
 block discarded – undo
63 63
 			$this->removeItems( $item->getId(), 'catalog/lists', 'catalog', 'text' );
64 64
 			$this->removeListItems( $item->getId(), 'catalog/lists', 'product' );
65 65
 		}
66
-		catch( \Exception $e ) { ; } // If no root node was already inserted into the database
66
+		catch( \Exception $e )
67
+		{
68
+; } // If no root node was already inserted into the database
67 69
 
68 70
 		$search = $manager->filter();
69 71
 		$search->setConditions( $search->compare( '=~', 'catalog.code', 'demo-' ) );
Please login to merge, or discard this patch.