Test Failed
Push — develop ( b57f29...1aa515 )
by Nuno
08:00 queued 04:06
created
src/Engines/AlgoliaEngine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Searchable/ObjectIdEncrypter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Console/Commands/OptimizeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         foreach ($searchableFinder->fromCommand($this) as $searchable) {
50 50
             $this->output->text('
Please login to merge, or discard this patch.