Skip to content

Commit

Permalink
MDL-32003 last db related phpdocs cleanup commit
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jun 17, 2012
1 parent 002252f commit d8bf2a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion admin/tool/xmldb/actions/XMLDBCheckAction.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down
6 changes: 3 additions & 3 deletions lib/ddl/database_manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ protected function execute_sql($sql) {
* 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)) {
Expand Down Expand Up @@ -126,8 +126,8 @@ public function reset_sequence($table) {
/**
* 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
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/xmldb/xmldb_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d8bf2a1

Please sign in to comment.