@@ -590,8 +590,7 @@ |
||
590 | 590 | { |
591 | 591 | $manager->moveItem( $item->getId(), $item->getParentId(), $parentid ); |
592 | 592 | $item = $manager->saveItem( $item ); |
593 | - } |
|
594 | - else |
|
593 | + } else |
|
595 | 594 | { |
596 | 595 | $item = $manager->insertItem( $item, $parentid ); |
597 | 596 | } |
@@ -119,8 +119,7 @@ |
||
119 | 119 | { |
120 | 120 | $capdate = date( 'Y-m-d 00:00:00', time() - 86400 * $capDays ); |
121 | 121 | $expr[] = $orderSearch->compare( '<=', 'order.datepayment', $capdate ); |
122 | - } |
|
123 | - else |
|
122 | + } else |
|
124 | 123 | { |
125 | 124 | $expr[] = $orderSearch->compare( '==', 'order.statusdelivery', $status ); |
126 | 125 | } |
@@ -96,8 +96,7 @@ |
||
96 | 96 | $files[] = $entry->getPathname(); |
97 | 97 | } |
98 | 98 | } |
99 | - } |
|
100 | - else |
|
99 | + } else |
|
101 | 100 | { |
102 | 101 | $files[] = $location; |
103 | 102 | } |
@@ -96,8 +96,7 @@ |
||
96 | 96 | $files[] = $entry->getPathname(); |
97 | 97 | } |
98 | 98 | } |
99 | - } |
|
100 | - else |
|
99 | + } else |
|
101 | 100 | { |
102 | 101 | $files[] = $location; |
103 | 102 | } |
@@ -96,8 +96,7 @@ |
||
96 | 96 | $files[] = $entry->getPathname(); |
97 | 97 | } |
98 | 98 | } |
99 | - } |
|
100 | - else |
|
99 | + } else |
|
101 | 100 | { |
102 | 101 | $files[] = $location; |
103 | 102 | } |
@@ -96,8 +96,7 @@ |
||
96 | 96 | $files[] = $entry->getPathname(); |
97 | 97 | } |
98 | 98 | } |
99 | - } |
|
100 | - else |
|
99 | + } else |
|
101 | 100 | { |
102 | 101 | $files[] = $location; |
103 | 102 | } |
@@ -96,8 +96,7 @@ |
||
96 | 96 | $files[] = $entry->getPathname(); |
97 | 97 | } |
98 | 98 | } |
99 | - } |
|
100 | - else |
|
99 | + } else |
|
101 | 100 | { |
102 | 101 | $files[] = $location; |
103 | 102 | } |
@@ -95,8 +95,7 @@ discard block |
||
95 | 95 | $files[] = $entry->getPathname(); |
96 | 96 | } |
97 | 97 | } |
98 | - } |
|
99 | - else |
|
98 | + } else |
|
100 | 99 | { |
101 | 100 | $files[] = $location; |
102 | 101 | } |
@@ -235,7 +234,9 @@ discard block |
||
235 | 234 | |
236 | 235 | return $currentid; |
237 | 236 | } |
238 | - catch( \Aimeos\MShop\Exception $e ) {} // not found, create new |
|
237 | + catch( \Aimeos\MShop\Exception $e ) |
|
238 | + { |
|
239 | +} // not found, create new |
|
239 | 240 | } |
240 | 241 | |
241 | 242 | $item = $this->process( $manager->createItem(), $node ); |
@@ -273,13 +274,11 @@ discard block |
||
273 | 274 | |
274 | 275 | $currentid = $this->importNode( $node, $domains, $parentid, $childMap ); |
275 | 276 | $total++; |
276 | - } |
|
277 | - elseif( $xml->nodeType === \XMLReader::ELEMENT && $xml->name === 'catalog' ) |
|
277 | + } elseif( $xml->nodeType === \XMLReader::ELEMENT && $xml->name === 'catalog' ) |
|
278 | 278 | { |
279 | 279 | $this->importTree( $xml, $domains, $currentid, $childMap ); |
280 | 280 | $childMap = []; |
281 | - } |
|
282 | - elseif( $xml->nodeType === \XMLReader::END_ELEMENT && $xml->name === 'catalog' ) |
|
281 | + } elseif( $xml->nodeType === \XMLReader::END_ELEMENT && $xml->name === 'catalog' ) |
|
283 | 282 | { |
284 | 283 | \Aimeos\MShop::create( $this->getContext(), 'catalog' )->deleteItems( $map ); |
285 | 284 | break; |
@@ -86,8 +86,7 @@ |
||
86 | 86 | $listItem = $map[$parentid][$type]; |
87 | 87 | unset( $listItems[$map[$parentid][$type]->getId()] ); |
88 | 88 | unset( $map[$parentid][$type] ); |
89 | - } |
|
90 | - else |
|
89 | + } else |
|
91 | 90 | { |
92 | 91 | $listItem = $listManager->createItem(); |
93 | 92 | } |