phpcs errors corrected

This commit is contained in:
Spun Nakandala 2013-08-02 00:05:18 +05:30
parent 0553f0204c
commit 6e39f058d7
2 changed files with 14 additions and 12 deletions

View File

@ -60,7 +60,7 @@ $available_mime = array();
$comments_map = PMA_getComments($db, $table);
if (isset($fields_meta)) {
$move_columns = PMA_getMoveColumns($db, $table);
$move_columns = PMA_getMoveColumns($db, $table);
}
if ($cfgRelation['mimework'] && $GLOBALS['cfg']['BrowseMIME']) {
@ -86,9 +86,10 @@ for ($i = 0; $i < $num_fields; $i++) {
if (! empty($regenerate)) {
list($row, $submit_length, $submit_attribute,
$submit_default_current_timestamp, $comments_map, $mime_map)
= PMA_handleRegeneration(isset($available_mime) ? $mime_map : null,
$comments_map, $mime_map
);
= PMA_handleRegeneration(
isset($available_mime) ? $mime_map : null,
$comments_map, $mime_map
);
} elseif (isset($fields_meta[$i])) {
$row = $fields_meta[$i];
switch ($row['Default']) {

View File

@ -207,8 +207,8 @@ function PMA_getHtmlForTableNameAndNoOfColumns()
/**
* Function to get html for table field definitions
*
* @param array $header_cells
* @param array $content_cells
* @param array $header_cells header cells
* @param array $content_cells content cells
*
* @return string
*/
@ -334,7 +334,8 @@ function PMA_getHeaderCells($is_backup, $fields_meta, $mimework, $db, $table)
. sprintf(
__(
'For a list of available transformation options and their MIME'
. ' type transformations, click on %stransformation descriptions%s'
. ' type transformations, click on'
. ' %stransformation descriptions%s'
),
'<a href="transformation_overview.php?'
. PMA_generate_common_url($db, $table)
@ -363,8 +364,8 @@ function PMA_getHeaderCells($is_backup, $fields_meta, $mimework, $db, $table)
/**
* Function for moving, load all available column names
*
* @param string $db
* @param string $table
* @param string $db current database
* @param string $table current table
*
* @return array
*/
@ -487,9 +488,9 @@ function PMA_getSubmitPropertiesForRegeneration()
* An error happened with previous inputs, so we will restore the data
* to embed it once again in this form.
*
* @param array $submit_fulltext
* @param array $comments_map
* @param array $mime_map
* @param array $submit_fulltext submit full text
* @param array $comments_map comments map
* @param array $mime_map mime map
*
* @return array
*/