File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 41
41
use function is_iterable ;
42
42
use function is_string ;
43
43
use function iterator_to_array ;
44
- use function method_exists ;
45
44
use function preg_quote ;
46
45
use function sleep ;
47
46
use function sprintf ;
@@ -86,7 +85,6 @@ public function update($models)
86
85
return ;
87
86
}
88
87
89
-
90
88
if ($ this ->softDelete && $ this ->usesSoftDelete ($ models )) {
91
89
$ models ->each ->pushSoftDeleteMetadata ();
92
90
}
@@ -511,10 +509,6 @@ private function getMapping(Model $model): array
511
509
{
512
510
$ mapping = self ::DEFAULT_DEFINITION ;
513
511
514
- if (method_exists ($ model , 'searchableMapping ' )) {
515
- $ mapping = $ model ->searchableMapping ();
516
- }
517
-
518
512
if ($ this ->usesSoftDelete ($ model )) {
519
513
// This field is a boolean represented with the integers 0 and 1
520
514
// https://www.mongodb.com/docs/atlas/atlas-search/field-types/number-type/#configure-fts-field-type-field-properties
You can’t perform that action at this time.
0 commit comments