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