Skip to content

Commit 2b12c33

Browse files
committed
Rename rebuild command class
1 parent 72b5f54 commit 2b12c33

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ApiDocGeneratorServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Mpociot\ApiDoc;
44

55
use Illuminate\Support\ServiceProvider;
6-
use Mpociot\ApiDoc\Commands\UpdateDocumentation;
6+
use Mpociot\ApiDoc\Commands\RebuildDocumentation;
77
use Mpociot\ApiDoc\Commands\GenerateDocumentation;
88

99
class ApiDocGeneratorServiceProvider extends ServiceProvider
@@ -30,7 +30,7 @@ public function boot()
3030
if ($this->app->runningInConsole()) {
3131
$this->commands([
3232
GenerateDocumentation::class,
33-
UpdateDocumentation::class,
33+
RebuildDocumentation::class,
3434
]);
3535
}
3636
}

src/Commands/UpdateDocumentation.php renamed to src/Commands/RebuildDocumentation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Illuminate\Console\Command;
66
use Mpociot\Documentarian\Documentarian;
77

8-
class UpdateDocumentation extends Command
8+
class RebuildDocumentation extends Command
99
{
1010
/**
1111
* The name and signature of the console command.

0 commit comments

Comments
 (0)