]> BookStack Code Mirror - bookstack/blobdiff - app/Console/Commands/RegenerateReferences.php
Guest create page: name field autofocus
[bookstack] / app / Console / Commands / RegenerateReferences.php
index 93450c5ea68c5aa6637f7beccf136a4b63f13d0e..805fd922d8e4e680b3c3b73e284669cb39b2f08f 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace BookStack\Console\Commands;
 
-use BookStack\References\ReferenceService;
+use BookStack\References\ReferenceStore;
 use Illuminate\Console\Command;
 use Illuminate\Support\Facades\DB;
 
@@ -22,14 +22,14 @@ class RegenerateReferences extends Command
      */
     protected $description = 'Regenerate all the cross-item model reference index';
 
-    protected ReferenceService $references;
+    protected ReferenceStore $references;
 
     /**
      * Create a new command instance.
      *
      * @return void
      */
-    public function __construct(ReferenceService $references)
+    public function __construct(ReferenceStore $references)
     {
         $this->references = $references;
         parent::__construct();
@@ -53,6 +53,7 @@ class RegenerateReferences extends Command
         DB::setDefaultConnection($connection);
 
         $this->comment('References have been regenerated');
+
         return 0;
     }
 }