1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16741] Clean up functions, add missing docblocks and return type hints

PHPBB3-16741
This commit is contained in:
Marc Alexander
2022-01-17 17:09:38 +01:00
parent 5e6065ff9e
commit 81cddb2bc6
4 changed files with 30 additions and 19 deletions

View File

@@ -178,7 +178,7 @@ class doctrine implements tools_interface
{
if (empty($schema_changes))
{
return;
return true;
}
return $this->alter_schema(
@@ -668,7 +668,7 @@ class doctrine implements tools_interface
{
if ($safe_check && $table->hasColumn($column_name))
{
return;
return false;
}
$dbms_name = $this->get_schema_manager()->getDatabasePlatform()->getName();