@@ -360,8 +360,7 @@ |
||
360 | 360 | * @see mshop/price/manager/standard/count/ansi |
361 | 361 | */ |
362 | 362 | $path = 'mshop/price/manager/standard/insert'; |
363 | - } |
|
364 | - else |
|
363 | + } else |
|
365 | 364 | { |
366 | 365 | /** mshop/price/manager/standard/update/mysql |
367 | 366 | * Updates an existing price record in the database |
@@ -162,7 +162,7 @@ |
||
162 | 162 | * |
163 | 163 | * @param boolean $flag True if tax is included in the price value, costs and rebate, false if not |
164 | 164 | * @return \Aimeos\MShop\Price\Item\Iface Price item for chaining method calls |
165 | - */ |
|
165 | + */ |
|
166 | 166 | public function setTaxFlag( $flag ); |
167 | 167 | |
168 | 168 | /** |
@@ -379,7 +379,7 @@ |
||
379 | 379 | * |
380 | 380 | * @param boolean $flag True if tax is included in the price value, costs and rebate, false if not |
381 | 381 | * @return \Aimeos\MShop\Price\Item\Iface Price item for chaining method calls |
382 | - */ |
|
382 | + */ |
|
383 | 383 | public function setTaxFlag( $flag ) |
384 | 384 | { |
385 | 385 | if( $flag == $this->getTaxFlag() ) { return $this; } |
@@ -289,8 +289,7 @@ |
||
289 | 289 | * @see mshop/attribute/manager/standard/count/ansi |
290 | 290 | */ |
291 | 291 | $path = 'mshop/attribute/manager/standard/insert'; |
292 | - } |
|
293 | - else |
|
292 | + } else |
|
294 | 293 | { |
295 | 294 | /** mshop/attribute/manager/standard/update/mysql |
296 | 295 | * Updates an existing attribute record in the database |
@@ -320,8 +320,7 @@ |
||
320 | 320 | * @see mshop/order/manager/base/service/standard/count/ansi |
321 | 321 | */ |
322 | 322 | $path = 'mshop/order/manager/base/service/standard/insert'; |
323 | - } |
|
324 | - else |
|
323 | + } else |
|
325 | 324 | { |
326 | 325 | /** mshop/order/manager/base/service/standard/update/mysql |
327 | 326 | * Updates an existing order record in the database |
@@ -840,7 +840,7 @@ |
||
840 | 840 | * @see mshop/order/manager/base/service/decorators/global |
841 | 841 | */ |
842 | 842 | |
843 | - return $this->getSubManagerBase( 'order', 'base/service/' . $manager, $name ); |
|
843 | + return $this->getSubManagerBase( 'order', 'base/service/'.$manager, $name ); |
|
844 | 844 | } |
845 | 845 | |
846 | 846 |
@@ -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 |
@@ -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; |