@@ -31,10 +31,10 @@ |
||
| 31 | 31 | |
| 32 | 32 | $treeBuilder->getRootNode() |
| 33 | 33 | ->beforeNormalization() |
| 34 | - ->ifTrue(static function ($v) { |
|
| 34 | + ->ifTrue(static function($v) { |
|
| 35 | 35 | return is_array($v) && !array_key_exists('connections', $v); |
| 36 | 36 | }) |
| 37 | - ->then(static function ($v) { |
|
| 37 | + ->then(static function($v) { |
|
| 38 | 38 | $connection = []; |
| 39 | 39 | foreach ($v as $key => $value) { |
| 40 | 40 | $connection[$key] = $v[$key]; |
@@ -54,12 +54,12 @@ |
||
| 54 | 54 | $config[$tableName] = [ |
| 55 | 55 | 'primary_key' => $metadata->identifier, |
| 56 | 56 | 'fields' => [], |
| 57 | - ]; |
|
| 57 | + ]; |
|
| 58 | 58 | |
| 59 | - if ($classAnnotation->truncate) { |
|
| 59 | + if ($classAnnotation->truncate) { |
|
| 60 | 60 | $config[$tableName]['truncate'] = true; |
| 61 | - continue; |
|
| 62 | - } |
|
| 61 | + continue; |
|
| 62 | + } |
|
| 63 | 63 | |
| 64 | 64 | foreach ($metadata->fieldMappings as $fieldName => $fieldMapping) { |
| 65 | 65 | if (in_array($fieldName, $metadata->identifier)) { |