Skip to content

Commit

Permalink
Merge pull request #36 from salahhusa9/fix/remove-migration
Browse files Browse the repository at this point in the history
remove migration file and in configure Package
  • Loading branch information
salahhusa9 committed Jan 31, 2024
2 parents 9902924 + 13bf467 commit 49147a4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 deletions.
19 changes: 0 additions & 19 deletions database/migrations/create_updater_table.php.stub

This file was deleted.

2 changes: 1 addition & 1 deletion src/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
1 change: 0 additions & 1 deletion src/UpdaterServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 49147a4

Please sign in to comment.