diff --git a/plugins/manager/lib/yform/manager/table.php b/plugins/manager/lib/yform/manager/table.php index 7adc9440..c6741f4c 100644 --- a/plugins/manager/lib/yform/manager/table.php +++ b/plugins/manager/lib/yform/manager/table.php @@ -160,7 +160,7 @@ public static function getAll() return self::$tables; } - public static function table() + public static function table(): string { return rex::getTablePrefix() . 'yform_table'; } @@ -533,7 +533,6 @@ public static function deleteCache(): void self::$cache = null; self::$tables = []; self::$loadedAllTables = false; - dump('table cache deleted'); } private static function getCache(): mixed diff --git a/plugins/manager/lib/yform/manager/table/api.php b/plugins/manager/lib/yform/manager/table/api.php index 8f946fce..4cf4b0aa 100644 --- a/plugins/manager/lib/yform/manager/table/api.php +++ b/plugins/manager/lib/yform/manager/table/api.php @@ -129,7 +129,7 @@ public static function exportTablesets(array $table_names) /** * @throws rex_sql_exception */ - public static function removeTable(string $table_name) + public static function removeTable(string $table_name): void { $table = rex_yform_manager_table::get($table_name); @@ -226,7 +226,7 @@ public static function setTableField(string $table_name, array $table_field) /** * @throws rex_sql_exception */ - public static function removeTablefield(string $table_name, string $field_name) + public static function removeTablefield(string $table_name, string $field_name): void { $f = rex_sql::factory(); $f->setDebug(self::$debug); @@ -238,7 +238,7 @@ public static function removeTablefield(string $table_name, string $field_name) /** * @throws rex_sql_exception */ - public static function migrateTable(string $table_name, bool $schema_overwrite = false) + public static function migrateTable(string $table_name, bool $schema_overwrite = false): void { $columns = rex_sql::showColumns($table_name);