Skip to content

Commit

Permalink
Fix typo in function name (#46326)
Browse files Browse the repository at this point in the history
  • Loading branch information
pxpm authored Mar 2, 2023
1 parent 664f095 commit 4fa264d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Database/Console/Migrations/MigrateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ protected function repositoryExists()
return retry(2, fn () => $this->migrator->repositoryExists(), 0, function ($e) {
try {
if ($e->getPrevious() instanceof SQLiteDatabaseDoesNotExistException) {
return $this->createMissingSqliteDatbase($e->getPrevious()->path);
return $this->createMissingSqliteDatabase($e->getPrevious()->path);
}

$connection = $this->migrator->resolveConnection($this->option('database'));
Expand All @@ -163,7 +163,7 @@ protected function repositoryExists()
* @param string $path
* @return bool
*/
protected function createMissingSqliteDatbase($path)
protected function createMissingSqliteDatabase($path)
{
if ($this->option('force')) {
return touch($path);
Expand Down

0 comments on commit 4fa264d

Please sign in to comment.