Skip to content

Commit

Permalink
use databaseExists()
Browse files Browse the repository at this point in the history
  • Loading branch information
inmanturbo committed Feb 15, 2024
1 parent 404b2f9 commit 681ac5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MySql/MySqlCreateDatabaseIfNotExists.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function __invoke(): callable
$database = (string) $database;

/** @var \Illuminate\Database\Schema\MySqlBuilder $this */
if ($this->mysqlDatabaseExists($database)) {
if ($this->databaseExists($database)) {

Check failure on line 24 in src/MySql/MySqlCreateDatabaseIfNotExists.php

View workflow job for this annotation

GitHub Actions / phpstan

Call to an undefined method Illuminate\Database\Schema\MySqlBuilder::databaseExists().
return false;
}

Expand Down

0 comments on commit 681ac5b

Please sign in to comment.