mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 21:14:02 +00:00
Return the result of fclose in SQLiteDBCreator
This commit is contained in:
parent
623c8494ba
commit
aeaa33c743
1 changed files with 1 additions and 3 deletions
|
|
@ -8,8 +8,6 @@ class SQLiteDatabaseCreator implements DatabaseCreator
|
||||||
{
|
{
|
||||||
public function createDatabase(string $name): bool
|
public function createDatabase(string $name): bool
|
||||||
{
|
{
|
||||||
fclose(fopen(database_path($name), 'w'));
|
return fclose(fopen(database_path($name), 'w'));
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue