@@ -66,7 +66,9 @@ |
||
| 66 | 66 | $this->removeItems( $item->getId(), 'catalog/lists', 'catalog', 'text' ); |
| 67 | 67 | $this->removeListItems( $item->getId(), 'catalog/lists', 'product' ); |
| 68 | 68 | } |
| 69 | - catch( \Exception $e ) {; } // If no root node was already inserted into the database |
|
| 69 | + catch( \Exception $e ) |
|
| 70 | + { |
|
| 71 | +; } // If no root node was already inserted into the database |
|
| 70 | 72 | |
| 71 | 73 | $search = $manager->filter(); |
| 72 | 74 | $search->setConditions( $search->compare( '=~', 'catalog.code', 'demo-' ) ); |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | $manager = \Aimeos\MShop::create( $context, 'attribute' ); |
| 166 | 166 | $refItem = $manager->find( $refItem->getCode(), [], $domain, $refItem->getType() ); |
| 167 | 167 | } |
| 168 | - catch( \Exception $e ) { ; } // attribute doesn't exist yet |
|
| 168 | + catch( \Exception $e ) {; } // attribute doesn't exist yet |
|
| 169 | 169 | |
| 170 | 170 | $refItem = $this->addRefItems( $refItem, $data ); |
| 171 | 171 | $item->addListItem( 'attribute', $listItem, $refItem ); |
@@ -165,7 +165,9 @@ |
||
| 165 | 165 | $manager = \Aimeos\MShop::create( $context, 'attribute' ); |
| 166 | 166 | $refItem = $manager->find( $refItem->getCode(), [], $domain, $refItem->getType() ); |
| 167 | 167 | } |
| 168 | - catch( \Exception $e ) { ; } // attribute doesn't exist yet |
|
| 168 | + catch( \Exception $e ) |
|
| 169 | + { |
|
| 170 | +; } // attribute doesn't exist yet |
|
| 169 | 171 | |
| 170 | 172 | $refItem = $this->addRefItems( $refItem, $data ); |
| 171 | 173 | $item->addListItem( 'attribute', $listItem, $refItem ); |