File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 4141use function is_iterable ;
4242use function is_string ;
4343use function iterator_to_array ;
44- use function method_exists ;
4544use function preg_quote ;
4645use function sleep ;
4746use function sprintf ;
@@ -86,7 +85,6 @@ public function update($models)
8685 return ;
8786 }
8887
89-
9088 if ($ this ->softDelete && $ this ->usesSoftDelete ($ models )) {
9189 $ models ->each ->pushSoftDeleteMetadata ();
9290 }
@@ -511,10 +509,6 @@ private function getMapping(Model $model): array
511509 {
512510 $ mapping = self ::DEFAULT_DEFINITION ;
513511
514- if (method_exists ($ model , 'searchableMapping ' )) {
515- $ mapping = $ model ->searchableMapping ();
516- }
517-
518512 if ($ this ->usesSoftDelete ($ model )) {
519513 // This field is a boolean represented with the integers 0 and 1
520514 // 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