@@ -628,8 +628,7 @@ |
||
628 | 628 | */ |
629 | 629 | $path = 'mshop/order/manager/base/service/insert'; |
630 | 630 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
631 | - } |
|
632 | - else |
|
631 | + } else |
|
633 | 632 | { |
634 | 633 | /** mshop/order/manager/base/service/update/mysql |
635 | 634 | * Updates an existing order record in the database |
@@ -533,8 +533,7 @@ |
||
533 | 533 | */ |
534 | 534 | $path = 'mshop/order/manager/base/service/attribute/insert'; |
535 | 535 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
536 | - } |
|
537 | - else |
|
536 | + } else |
|
538 | 537 | { |
539 | 538 | /** mshop/order/manager/base/service/attribute/update/mysql |
540 | 539 | * Updates an existing order record in the database |
@@ -627,8 +627,7 @@ |
||
627 | 627 | */ |
628 | 628 | $path = 'mshop/order/manager/base/insert'; |
629 | 629 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
630 | - } |
|
631 | - else |
|
630 | + } else |
|
632 | 631 | { |
633 | 632 | /** mshop/order/manager/base/update/mysql |
634 | 633 | * Updates an existing order record in the database |
@@ -385,8 +385,7 @@ discard block |
||
385 | 385 | $attributes[$attribute->getParentId()][] = $attribute; |
386 | 386 | $attribute->setParentId( null ); |
387 | 387 | $attribute->setId( null ); |
388 | - } |
|
389 | - else |
|
388 | + } else |
|
390 | 389 | { |
391 | 390 | $attributes[$attribute->getParentId()][$id] = $attribute; |
392 | 391 | } |
@@ -405,8 +404,7 @@ discard block |
||
405 | 404 | $map[$item->getBaseId()][$item->getPosition()] = $item; |
406 | 405 | |
407 | 406 | $subProducts = []; |
408 | - } |
|
409 | - else |
|
407 | + } else |
|
410 | 408 | { // in case it's a sub-product |
411 | 409 | $subProducts[$item->getPosition()] = $item; |
412 | 410 | } |
@@ -505,8 +505,7 @@ |
||
505 | 505 | */ |
506 | 506 | $path = 'mshop/order/manager/base/coupon/insert'; |
507 | 507 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
508 | - } |
|
509 | - else |
|
508 | + } else |
|
510 | 509 | { |
511 | 510 | /** mshop/order/manager/base/coupon/update/mysql |
512 | 511 | * Updates an existing order record in the database |
@@ -719,8 +719,7 @@ |
||
719 | 719 | */ |
720 | 720 | $path = 'mshop/order/manager/base/product/insert'; |
721 | 721 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
722 | - } |
|
723 | - else |
|
722 | + } else |
|
724 | 723 | { |
725 | 724 | /** mshop/order/manager/base/product/update/mysql |
726 | 725 | * Updates an existing order record in the database |
@@ -533,8 +533,7 @@ |
||
533 | 533 | */ |
534 | 534 | $path = 'mshop/order/manager/base/product/attribute/insert'; |
535 | 535 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
536 | - } |
|
537 | - else |
|
536 | + } else |
|
538 | 537 | { |
539 | 538 | /** mshop/order/manager/base/product/attribute/update/mysql |
540 | 539 | * Updates an existing order record in the database |
@@ -665,8 +665,7 @@ |
||
665 | 665 | */ |
666 | 666 | $path = 'mshop/order/manager/base/address/insert'; |
667 | 667 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
668 | - } |
|
669 | - else |
|
668 | + } else |
|
670 | 669 | { |
671 | 670 | /** mshop/order/manager/base/address/update/mysql |
672 | 671 | * Updates an existing order record in the database |
@@ -258,8 +258,7 @@ |
||
258 | 258 | */ |
259 | 259 | $path = 'mshop/order/manager/status/insert'; |
260 | 260 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
261 | - } |
|
262 | - else |
|
261 | + } else |
|
263 | 262 | { |
264 | 263 | /** mshop/order/manager/status/update/mysql |
265 | 264 | * Updates an existing order record in the database |