namespace BookStack\Console\Commands;
-use BookStack\References\ReferenceService;
+use BookStack\References\ReferenceStore;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\DB;
*/
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();
DB::setDefaultConnection($connection);
$this->comment('References have been regenerated');
+
return 0;
}
}