@@ -35,10 +35,10 @@ |
||
35 | 35 | ->end() // tables |
36 | 36 | ->end() |
37 | 37 | ->beforeNormalization() |
38 | - ->ifTrue(static function ($v) { |
|
38 | + ->ifTrue(static function($v) { |
|
39 | 39 | return is_array($v) && array_key_exists('defaults', $v) && is_array($v['defaults']); |
40 | 40 | }) |
41 | - ->then(static function ($c) { |
|
41 | + ->then(static function($c) { |
|
42 | 42 | // pass default values to all concerned fields. |
43 | 43 | foreach ($c['tables'] as &$tableConfig) { |
44 | 44 | foreach ($tableConfig['fields'] as &$fieldConfig) { |
@@ -84,7 +84,7 @@ |
||
84 | 84 | $fields = [$this->primaryKey]; |
85 | 85 | |
86 | 86 | foreach ($this->targetFields as $targetField) { |
87 | - $fields[] = ($quoted ? $quoted: '').$targetField->getName().($quoted ? $quoted: ''); |
|
87 | + $fields[] = ($quoted ? $quoted : '').$targetField->getName().($quoted ? $quoted : ''); |
|
88 | 88 | } |
89 | 89 | |
90 | 90 | return $fields; |