@@ -350,8 +350,7 @@ |
||
350 | 350 | * @see mshop/order/manager/standard/count/ansi |
351 | 351 | */ |
352 | 352 | $path = 'mshop/order/manager/standard/insert'; |
353 | - } |
|
354 | - else |
|
353 | + } else |
|
355 | 354 | { |
356 | 355 | /** mshop/order/manager/standard/update/mysql |
357 | 356 | * Updates an existing order record in the database |
@@ -578,6 +578,7 @@ |
||
578 | 578 | * @param \Aimeos\MW\Criteria\Iface $search Search criteria object |
579 | 579 | * @param string[] $ref List of domains to fetch list items and referenced items for |
580 | 580 | * @param integer|null &$total Number of items that are available in total |
581 | + * @param integer $total |
|
581 | 582 | * @return array List of items implementing \Aimeos\MShop\Order\Item\Iface |
582 | 583 | */ |
583 | 584 | public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null ) |
@@ -126,7 +126,7 @@ |
||
126 | 126 | { |
127 | 127 | if( $code == $this->getCode() ) { return $this; } |
128 | 128 | |
129 | - $this->values['order.base.coupon.code'] = (string) $this->checkCode( $code );; |
|
129 | + $this->values['order.base.coupon.code'] = (string) $this->checkCode( $code ); ; |
|
130 | 130 | $this->setModified(); |
131 | 131 | |
132 | 132 | return $this; |
@@ -238,8 +238,7 @@ |
||
238 | 238 | * @see mshop/product/manager/standard/count/ansi |
239 | 239 | */ |
240 | 240 | $path = 'mshop/product/manager/standard/insert'; |
241 | - } |
|
242 | - else |
|
241 | + } else |
|
243 | 242 | { |
244 | 243 | /** mshop/product/manager/standard/update/mysql |
245 | 244 | * Updates an existing product record in the database |
@@ -444,8 +444,7 @@ |
||
444 | 444 | * @see mshop/plugin/manager/standard/count/ansi |
445 | 445 | */ |
446 | 446 | $path = 'mshop/plugin/manager/standard/insert'; |
447 | - } |
|
448 | - else |
|
447 | + } else |
|
449 | 448 | { |
450 | 449 | /** mshop/plugin/manager/standard/update/mysql |
451 | 450 | * Updates an existing plugin record in the database |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | { |
216 | 216 | $path = 'mshop/plugin/manager/submanagers'; |
217 | 217 | |
218 | - return $this->getResourceTypeBase( 'plugin', $path, array( 'type'), $withsub ); |
|
218 | + return $this->getResourceTypeBase( 'plugin', $path, array( 'type' ), $withsub ); |
|
219 | 219 | } |
220 | 220 | |
221 | 221 | |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | } |
304 | 304 | |
305 | 305 | $interface = '\\Aimeos\\MShop\\Plugin\\Provider\\Factory\\Iface'; |
306 | - $classname = '\\Aimeos\\MShop\\Plugin\\Provider\\' . $type . '\\' . $provider; |
|
306 | + $classname = '\\Aimeos\\MShop\\Plugin\\Provider\\'.$type.'\\'.$provider; |
|
307 | 307 | |
308 | 308 | if( class_exists( $classname ) === false ) { |
309 | 309 | throw new \Aimeos\MShop\Plugin\Exception( sprintf( 'Class "%1$s" not available', $classname ) ); |
@@ -341,7 +341,7 @@ discard block |
||
341 | 341 | * @category Developer |
342 | 342 | * @see mshop/plugin/provider/order/decorators |
343 | 343 | */ |
344 | - $decorators = $config->get( 'mshop/plugin/provider/' . $item->getType() . '/decorators', [] ); |
|
344 | + $decorators = $config->get( 'mshop/plugin/provider/'.$item->getType().'/decorators', [] ); |
|
345 | 345 | |
346 | 346 | $provider = $this->addPluginDecorators( $item, $provider, $names ); |
347 | 347 | $provider = $this->addPluginDecorators( $item, $provider, $decorators ); |
@@ -71,8 +71,7 @@ |
||
71 | 71 | $this->setCode( $key ); |
72 | 72 | $this->values['locale.currency.id'] = $this->values['locale.currency.code']; |
73 | 73 | $this->modified = false; |
74 | - } |
|
75 | - else |
|
74 | + } else |
|
76 | 75 | { |
77 | 76 | $this->values['locale.currency.id'] = null; |
78 | 77 | $this->modified = true; |
@@ -72,8 +72,7 @@ |
||
72 | 72 | $this->setCode( $key ); |
73 | 73 | $this->values['locale.language.id'] = $this->values['locale.language.code']; |
74 | 74 | $this->modified = false; |
75 | - } |
|
76 | - else |
|
75 | + } else |
|
77 | 76 | { |
78 | 77 | $this->values['locale.language.id'] = null; |
79 | 78 | $this->modified = true; |
@@ -172,8 +172,7 @@ |
||
172 | 172 | { |
173 | 173 | $this->executeList( $stmtList ); |
174 | 174 | $this->status( 'migrated' ); |
175 | - } |
|
176 | - else |
|
175 | + } else |
|
177 | 176 | { |
178 | 177 | $this->status( 'OK' ); |
179 | 178 | } |
@@ -67,8 +67,7 @@ |
||
67 | 67 | { |
68 | 68 | $this->execute( $stmt ); |
69 | 69 | $this->status( 'renamed' ); |
70 | - } |
|
71 | - else |
|
70 | + } else |
|
72 | 71 | { |
73 | 72 | $this->status( 'OK' ); |
74 | 73 | } |
@@ -65,8 +65,7 @@ |
||
65 | 65 | { |
66 | 66 | $this->executeList( $stmts ); |
67 | 67 | $this->status( 'added' ); |
68 | - } |
|
69 | - else |
|
68 | + } else |
|
70 | 69 | { |
71 | 70 | $this->status( 'OK' ); |
72 | 71 | } |