@@ -77,7 +77,7 @@ |
||
77 | 77 | { |
78 | 78 | $index = $this->algolia->initIndex($models->first()->searchableAs()); |
79 | 79 | |
80 | - $result = $index->deleteObjects($models->map(function ($model) { |
|
80 | + $result = $index->deleteObjects($models->map(function($model) { |
|
81 | 81 | return ObjectIdEncrypter::encrypt($model); |
82 | 82 | })->values()->all()); |
83 | 83 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | { |
39 | 39 | $scoutKey = method_exists($searchable, 'getScoutKey') ? $searchable->getScoutKey() : $searchable->getKey(); |
40 | 40 | |
41 | - $meta = [get_class($searchable->getModel()), $scoutKey,]; |
|
41 | + $meta = [get_class($searchable->getModel()), $scoutKey, ]; |
|
42 | 42 | |
43 | 43 | if ($part !== null) { |
44 | 44 | $meta[] = $part; |
@@ -49,7 +49,7 @@ |
||
49 | 49 | foreach ($searchableFinder->fromCommand($this) as $searchable) { |
50 | 50 | $this->output->text(' |