@@ -305,8 +305,7 @@ |
||
305 | 305 | */ |
306 | 306 | $path = 'mshop/customer/manager/group/insert'; |
307 | 307 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
308 | - } |
|
309 | - else |
|
308 | + } else |
|
310 | 309 | { |
311 | 310 | /** mshop/customer/manager/group/update/mysql |
312 | 311 | * Updates an existing customer group record in the database |
@@ -101,8 +101,7 @@ discard block |
||
101 | 101 | foreach( $columns as $name ) { |
102 | 102 | $names .= '"' . $name . '", '; $values .= '?, '; |
103 | 103 | } |
104 | - } |
|
105 | - else |
|
104 | + } else |
|
106 | 105 | { |
107 | 106 | foreach( $columns as $name ) { |
108 | 107 | $names .= '"' . $name . '" = ?, '; |
@@ -593,11 +592,9 @@ discard block |
||
593 | 592 | |
594 | 593 | if( isset( $attributes[$prefix] ) && $attributes[$prefix] instanceof $iface ) { |
595 | 594 | return $attributes[$prefix]->getInternalDeps(); |
596 | - } |
|
597 | - elseif( isset( $attributes[$name] ) && $attributes[$name] instanceof $iface ) { |
|
595 | + } elseif( isset( $attributes[$name] ) && $attributes[$name] instanceof $iface ) { |
|
598 | 596 | return $attributes[$name]->getInternalDeps(); |
599 | - } |
|
600 | - else if( isset( $attributes['id'] ) && $attributes['id'] instanceof $iface ) { |
|
597 | + } else if( isset( $attributes['id'] ) && $attributes['id'] instanceof $iface ) { |
|
601 | 598 | return $attributes['id']->getInternalDeps(); |
602 | 599 | } |
603 | 600 | |
@@ -823,8 +820,7 @@ discard block |
||
823 | 820 | */ |
824 | 821 | $path = $this->getConfigKey( 'insert' ); |
825 | 822 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
826 | - } |
|
827 | - else |
|
823 | + } else |
|
828 | 824 | { |
829 | 825 | /** mshop/common/manager/update/mysql |
830 | 826 | * Updates an existing record in the database |
@@ -15,7 +15,7 @@ |
||
15 | 15 | { |
16 | 16 | $this->info( 'Creating test schema', 'vv' ); |
17 | 17 | |
18 | - $this->db( 'db-test' )->table( 'mshop_test', function( \Aimeos\Upscheme\Schema\Table $table ) { |
|
18 | + $this->db( 'db-test' )->table( 'mshop_test', function( \Aimeos\Upscheme\Schema\Table $table ) { |
|
19 | 19 | |
20 | 20 | $table->engine = 'InnoDB'; |
21 | 21 |