]> BookStack Code Mirror - bookstack/blobdiff - app/Console/Commands/RegenerateSearch.php
Added additional testing for editor switching permissions
[bookstack] / app / Console / Commands / RegenerateSearch.php
index 62ee88fc0f10fe237b0b8d2c08663bc6de72040a..20e3fc7983f8bd7ff472758d20f3693841864ec5 100644 (file)
@@ -49,7 +49,7 @@ class RegenerateSearch extends Command
             DB::setDefaultConnection($this->option('database'));
         }
 
-        $this->searchIndex->indexAllEntities(function (Entity $model, int $processed, int $total) {
+        $this->searchIndex->indexAllEntities(function (Entity $model, int $processed, int $total): void {
             $this->info('Indexed ' . class_basename($model) . ' entries (' . $processed . '/' . $total . ')');
         });