diff --git a/database/migrations/create_updater_table.php.stub b/database/migrations/create_updater_table.php.stub deleted file mode 100644 index 5e6bb43..0000000 --- a/database/migrations/create_updater_table.php.stub +++ /dev/null @@ -1,19 +0,0 @@ -id(); - - // add fields - - $table->timestamps(); - }); - } -}; diff --git a/src/Updater.php b/src/Updater.php index d2928fc..0c9f192 100644 --- a/src/Updater.php +++ b/src/Updater.php @@ -15,7 +15,7 @@ class Updater /** * update */ - public function update(callable $output = null): string + public function update(?callable $output = null): string { if (! is_null($output) and ! is_callable($output)) { throw new \Exception('Output must be callable'); diff --git a/src/UpdaterServiceProvider.php b/src/UpdaterServiceProvider.php index f70ea6f..fc05315 100644 --- a/src/UpdaterServiceProvider.php +++ b/src/UpdaterServiceProvider.php @@ -22,7 +22,6 @@ public function configurePackage(Package $package): void ->name('laravel-updater') ->hasConfigFile() ->hasViews() - ->hasMigration('create_laravel-updater_table') ->hasCommands(UpdaterCommand::class, CheckCommand::class); $this->app->singleton(Repository::class, function () {