@@ -67,8 +67,7 @@ |
||
67 | 67 | { |
68 | 68 | $this->executeList( $stmts ); |
69 | 69 | $this->status( 'renamed' ); |
70 | - } |
|
71 | - else |
|
70 | + } else |
|
72 | 71 | { |
73 | 72 | $this->status( 'OK' ); |
74 | 73 | } |
@@ -779,8 +779,7 @@ |
||
779 | 779 | { |
780 | 780 | $this->executeList( $stmtList ); |
781 | 781 | $this->status( 'added' ); |
782 | - } |
|
783 | - else |
|
782 | + } else |
|
784 | 783 | { |
785 | 784 | $this->status( 'OK' ); |
786 | 785 | } |
@@ -80,8 +80,7 @@ |
||
80 | 80 | { |
81 | 81 | $this->executeList( $stmts ); |
82 | 82 | $this->status( 'done' ); |
83 | - } |
|
84 | - else |
|
83 | + } else |
|
85 | 84 | { |
86 | 85 | $this->status( 'OK' ); |
87 | 86 | } |
@@ -94,8 +94,7 @@ |
||
94 | 94 | { |
95 | 95 | $this->executeList( $stmt ); |
96 | 96 | $this->status( 'added' ); |
97 | - } |
|
98 | - else |
|
97 | + } else |
|
99 | 98 | { |
100 | 99 | $this->status( 'OK' ); |
101 | 100 | } |
@@ -89,8 +89,7 @@ |
||
89 | 89 | } |
90 | 90 | |
91 | 91 | $this->status( 'added' ); |
92 | - } |
|
93 | - else |
|
92 | + } else |
|
94 | 93 | { |
95 | 94 | $this->status( 'removed' ); |
96 | 95 | } |
@@ -75,8 +75,7 @@ |
||
75 | 75 | $this->saveCustomerItems( $data ); |
76 | 76 | |
77 | 77 | $this->status( 'added' ); |
78 | - } |
|
79 | - else |
|
78 | + } else |
|
80 | 79 | { |
81 | 80 | $this->status( 'removed' ); |
82 | 81 | } |
@@ -77,8 +77,7 @@ |
||
77 | 77 | { |
78 | 78 | $this->addDemoData(); |
79 | 79 | $this->status( 'added' ); |
80 | - } |
|
81 | - else |
|
80 | + } else |
|
82 | 81 | { |
83 | 82 | $this->status( 'removed' ); |
84 | 83 | } |
@@ -668,8 +668,7 @@ |
||
668 | 668 | |
669 | 669 | if( isset( $attributes[$name] ) && $attributes[$name] instanceof $iface ) { |
670 | 670 | return $attributes[$name]->getInternalDeps(); |
671 | - } |
|
672 | - else if( isset( $attributes['id'] ) && $attributes['id'] instanceof $iface ) { |
|
671 | + } else if( isset( $attributes['id'] ) && $attributes['id'] instanceof $iface ) { |
|
673 | 672 | return $attributes['id']->getInternalDeps(); |
674 | 673 | } |
675 | 674 |
@@ -458,7 +458,7 @@ |
||
458 | 458 | * @return \Aimeos\MShop\Common\Item\Iface Requested item |
459 | 459 | * @throws \Aimeos\MShop\Exception if no item with the given ID found |
460 | 460 | */ |
461 | - protected function findItemBase( array $pairs, array $ref, $default ) |
|
461 | + protected function findItemBase( array $pairs, array $ref, $default ) |
|
462 | 462 | { |
463 | 463 | $expr = []; |
464 | 464 | $criteria = $this->getObject()->createSearch( $default )->setSlice( 0, 1 ); |
@@ -243,8 +243,7 @@ |
||
243 | 243 | $stmt->bind( 8, $pos, \Aimeos\MW\DB\Statement\Base::PARAM_INT ); |
244 | 244 | |
245 | 245 | $stmt->execute()->finish(); |
246 | - } |
|
247 | - else |
|
246 | + } else |
|
248 | 247 | { |
249 | 248 | $sql = $this->getSqlConfig( $cfgPath . 'getposmax' ); |
250 | 249 |