|
@@ -893,7 +893,7 @@ discard block |
|
|
block discarded – undo |
|
893
|
893
|
$attributePath = $attribute; |
|
894
|
894
|
$path = null; |
|
895
|
895
|
} else { |
|
896
|
|
- $attributePath = $embeddedMeta['path'] . '.' . $attribute; |
|
|
896
|
+ $attributePath = $embeddedMeta['path'].'.'.$attribute; |
|
897
|
897
|
$path = $embeddedMeta['path']; |
|
898
|
898
|
} |
|
899
|
899
|
|
|
@@ -902,7 +902,7 @@ discard block |
|
|
block discarded – undo |
|
902
|
902
|
unset($meta['alias']); |
|
903
|
903
|
|
|
904
|
904
|
if (isset($this->fields[$field])) { |
|
905
|
|
- throw new LogicException('Alias "' . $field . '" is already in use. If you want to use the same database field on multiple properties, you can declare an event listener for the "afterLoad", "beforeInsert" and "beforeUpdate" events, using Mapper::customEvents() to manually set the value on all properties.'); |
|
|
905
|
+ throw new LogicException('Alias "'.$field.'" is already in use. If you want to use the same database field on multiple properties, you can declare an event listener for the "afterLoad", "beforeInsert" and "beforeUpdate" events, using Mapper::customEvents() to manually set the value on all properties.'); |
|
906
|
906
|
} |
|
907
|
907
|
|
|
908
|
908
|
// TODO ne pas gerer les defaults |
|
@@ -951,7 +951,7 @@ discard block |
|
|
block discarded – undo |
|
951
|
951
|
|
|
952
|
952
|
$this->sequence = [ |
|
953
|
953
|
'connection' => $sequence['connection'] ?? $this->connection, |
|
954
|
|
- 'table' => $sequence['table'] ?? $this->table . '_seq', |
|
|
954
|
+ 'table' => $sequence['table'] ?? $this->table.'_seq', |
|
955
|
955
|
'column' => $sequence['column'] ?? 'id', |
|
956
|
956
|
'options' => $sequence['tableOptions'] ?? [], |
|
957
|
957
|
]; |
Please login to merge, or discard this patch.