diff --git a/src/ApiDocGeneratorServiceProvider.php b/src/ApiDocGeneratorServiceProvider.php index d2715b9e..b710e547 100644 --- a/src/ApiDocGeneratorServiceProvider.php +++ b/src/ApiDocGeneratorServiceProvider.php @@ -3,7 +3,7 @@ namespace Mpociot\ApiDoc; use Illuminate\Support\ServiceProvider; -use Mpociot\ApiDoc\Commands\UpdateDocumentation; +use Mpociot\ApiDoc\Commands\RebuildDocumentation; use Mpociot\ApiDoc\Commands\GenerateDocumentation; class ApiDocGeneratorServiceProvider extends ServiceProvider @@ -30,7 +30,7 @@ public function boot() if ($this->app->runningInConsole()) { $this->commands([ GenerateDocumentation::class, - UpdateDocumentation::class, + RebuildDocumentation::class, ]); } } diff --git a/src/Commands/UpdateDocumentation.php b/src/Commands/RebuildDocumentation.php similarity index 96% rename from src/Commands/UpdateDocumentation.php rename to src/Commands/RebuildDocumentation.php index 060eb277..90310296 100644 --- a/src/Commands/UpdateDocumentation.php +++ b/src/Commands/RebuildDocumentation.php @@ -5,7 +5,7 @@ use Illuminate\Console\Command; use Mpociot\Documentarian\Documentarian; -class UpdateDocumentation extends Command +class RebuildDocumentation extends Command { /** * The name and signature of the console command.