diff --git a/libraries/controllers/TableRelationController.class.php b/libraries/controllers/TableRelationController.class.php index 4942ff1de2..892e5250a5 100644 --- a/libraries/controllers/TableRelationController.class.php +++ b/libraries/controllers/TableRelationController.class.php @@ -70,13 +70,13 @@ class TableRelationController extends TableController /** * Constructor * - * @param array $options_array - * @param array $cfgRelation - * @param string $tbl_storage_engine - * @param array $existrel + * @param array $options_array Options + * @param array $cfgRelation Config relation + * @param string $tbl_storage_engine Table storage engine + * @param array $existrel * @param array $existrel_foreign * @param string $disp - * @param string $upd_query + * @param string $upd_query Update query */ public function __construct($options_array, $cfgRelation, $tbl_storage_engine, $existrel, $existrel_foreign, $disp, $upd_query diff --git a/libraries/controllers/TableSearchController.class.php b/libraries/controllers/TableSearchController.class.php index cfe6e33380..5e036c8e26 100644 --- a/libraries/controllers/TableSearchController.class.php +++ b/libraries/controllers/TableSearchController.class.php @@ -90,10 +90,10 @@ class TableSearchController extends TableController /** * Constructor * - * @param string $db - * @param string $table - * @param string $searchType - * @param string $url_query + * @param string $db DB name + * @param string $table Table name + * @param string $searchType Search type + * @param string $url_query URL query */ public function __construct($db, $table, $searchType, $url_query) { @@ -385,6 +385,9 @@ class TableSearchController extends TableController /** * Zoom submit action * + * @param string $dataLabel Data label + * @param string $goto Goto + * * @return void */ public function zoomSubmitAction($dataLabel, $goto) diff --git a/libraries/relation.lib.php b/libraries/relation.lib.php index 7c8f3d5b0a..07b0edf614 100644 --- a/libraries/relation.lib.php +++ b/libraries/relation.lib.php @@ -747,7 +747,9 @@ function PMA_getForeigners($db, $table, $column = '', $source = 'both') * @var CreateStatement $stmt */ $stmt = $parser->statements[0]; - $foreign['foreign_keys_data'] = SqlParser\Utils\Table::getForeignKeys($stmt); + $foreign['foreign_keys_data'] = SqlParser\Utils\Table::getForeignKeys( + $stmt + ); } } @@ -1329,7 +1331,8 @@ function PMA_getForeignData( // We could also do the SELECT anyway, with a LIMIT, and ensure that // the current value of the field is one of the choices. - $the_total = $GLOBALS['dbi']->getTable($foreign_db, $foreign_table)->countRecords(true); + $the_total = $GLOBALS['dbi']->getTable($foreign_db, $foreign_table) + ->countRecords(true); if ($override_total == true || $the_total < $GLOBALS['cfg']['ForeignKeyMaxLimit'] diff --git a/libraries/replication_gui.lib.php b/libraries/replication_gui.lib.php index d85149fa90..2ffd20a9f2 100644 --- a/libraries/replication_gui.lib.php +++ b/libraries/replication_gui.lib.php @@ -152,8 +152,9 @@ function PMA_getHtmlForSlaveConfiguration( $html .= ' '; @@ -228,7 +229,10 @@ function PMA_getHtmlForSlaveConfiguration( $reconfiguremaster_link = 'server_replication.php' . PMA_URL_getCommon($_url_params); - $html .= __('Server is configured as slave in a replication process. Would you like to:'); + $html .= __( + 'Server is configured as slave in a replication process. Would you ' . + 'like to:' + ); $html .= '
'; $html .= '