1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 19:24:02 +00:00

Return the result of fclose in SQLiteDBCreator

This commit is contained in:
Samuel Štancl 2019-02-07 14:23:46 +01:00
parent 623c8494ba
commit aeaa33c743

View file

@ -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;
} }
} }