From d8bf2a14b6bd212b4b2417e189cee7fa5edc8dc2 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Wed, 6 Jun 2012 11:42:07 +0200 Subject: [PATCH] MDL-32003 last db related phpdocs cleanup commit --- admin/tool/xmldb/actions/XMLDBCheckAction.class.php | 2 +- lib/ddl/database_manager.php | 6 +++--- lib/xmldb/xmldb_table.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/admin/tool/xmldb/actions/XMLDBCheckAction.class.php b/admin/tool/xmldb/actions/XMLDBCheckAction.class.php index 1e1e20136a4..06787a64256 100644 --- a/admin/tool/xmldb/actions/XMLDBCheckAction.class.php +++ b/admin/tool/xmldb/actions/XMLDBCheckAction.class.php @@ -30,7 +30,7 @@ */ abstract class XMLDBCheckAction extends XMLDBAction { /** - * This string is displayed with a yes/no choice before the report is run. + * @var string This string is displayed with a yes/no choice before the report is run. * You must set this to the name of a lang string in xmldb.php before calling init. */ protected $introstr = ''; diff --git a/lib/ddl/database_manager.php b/lib/ddl/database_manager.php index dffcc2dd20f..b8e0f823aeb 100644 --- a/lib/ddl/database_manager.php +++ b/lib/ddl/database_manager.php @@ -95,7 +95,7 @@ class database_manager { * Given one xmldb_table, check if it exists in DB (true/false). * * @param string|xmldb_table $table The table to be searched (string name or xmldb_table instance). - * @return bool true/false True is a table exists, false otherwise. + * @return bool True is a table exists, false otherwise. */ public function table_exists($table) { if (!is_string($table) and !($table instanceof xmldb_table)) { @@ -126,8 +126,8 @@ class database_manager { /** * Given one xmldb_field, check if it exists in DB (true/false). * - * @param mixed $table The table to be searched (string name or xmldb_table instance). - * @param mixed $field The field to be searched for (string name or xmldb_field instance). + * @param string|xmldb_table $table The table to be searched (string name or xmldb_table instance). + * @param string|xmldb_field $field The field to be searched for (string name or xmldb_field instance). * @return boolean true is exists false otherwise. * @throws ddl_table_missing_exception */ diff --git a/lib/xmldb/xmldb_table.php b/lib/xmldb/xmldb_table.php index a56500be2f4..b3e77d875e4 100644 --- a/lib/xmldb/xmldb_table.php +++ b/lib/xmldb/xmldb_table.php @@ -42,7 +42,7 @@ class xmldb_table extends xmldb_object { * - Oracle has 30 chars limit for all names, * 2 chars are reserved for prefix. * - * @const maximumn length of field names + * @const maximum length of field names */ const NAME_MAX_LENGTH = 28;