@@ 1129-1132 (lines=4) @@ | ||
1126 | if (isset($mapping['type']) && $mapping['type'] === 'file') { |
|
1127 | $mapping['file'] = true; |
|
1128 | } |
|
1129 | if (isset($mapping['file']) && $mapping['file'] === true) { |
|
1130 | $this->file = $mapping['fieldName']; |
|
1131 | $mapping['name'] = 'file'; |
|
1132 | } |
|
1133 | if (isset($mapping['distance']) && $mapping['distance'] === true) { |
|
1134 | $this->distance = $mapping['fieldName']; |
|
1135 | } |
|
@@ 1133-1135 (lines=3) @@ | ||
1130 | $this->file = $mapping['fieldName']; |
|
1131 | $mapping['name'] = 'file'; |
|
1132 | } |
|
1133 | if (isset($mapping['distance']) && $mapping['distance'] === true) { |
|
1134 | $this->distance = $mapping['fieldName']; |
|
1135 | } |
|
1136 | if (isset($mapping['id']) && $mapping['id'] === true) { |
|
1137 | $mapping['name'] = '_id'; |
|
1138 | $this->identifier = $mapping['fieldName']; |