Skip to content

Commit dfaf563

Browse files
committed
Multiple mappings allowed per field name
1 parent 1da4e46 commit dfaf563

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Schema/Blueprint.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
* analyzer?: string,
8989
* analyzers?: TypeSearchIndexAnalyzer[],
9090
* searchAnalyzer?: string,
91-
* mappings: array{dynamic: true} | array{dynamic?: bool, fields: array<string, TypeSearchIndexField>},
91+
* mappings: array{dynamic: true} | array{dynamic?: bool, fields: array<string, TypeSearchIndexField|TypeSearchIndexField[]>},
9292
* storedSource?: TypeSearchIndexStoredSource,
9393
* synonyms?: TypeSearchIndexSynonyms[],
9494
* }

0 commit comments

Comments
 (0)