From 237b00cc00fb4e45298e5d9c7a940349dae885e6 Mon Sep 17 00:00:00 2001 From: chanaka Date: Mon, 28 Jul 2014 21:49:11 +0530 Subject: [PATCH] Fixed some codesniffer errors Signed-off-by: chanaka --- libraries/Console.class.php | 17 ++++++++--------- libraries/error_report.lib.php | 2 +- libraries/sql.lib.php | 4 ++-- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/libraries/Console.class.php b/libraries/Console.class.php index 92324cdbf9..859b779aae 100644 --- a/libraries/Console.class.php +++ b/libraries/Console.class.php @@ -165,8 +165,7 @@ class PMA_Console // The templates, use sprintf() to output them // There're white space at the end of every , // for double-click selection - $tpl_query_actions - = '' . __('Collapse') . ' ' + $tpl_query_actions = '' . __('Collapse') . ' ' . '' . __('Expand') . ' ' . '' . __('Requery') . ' ' . '' . __('Edit') . ' ' @@ -214,13 +213,13 @@ class PMA_Console . '" targettable="' . htmlspecialchars($record['table']) . '">
' . sprintf( - $tpl_query_actions, - $record['db'], - (isset($record['timevalue']) - ? $record['timevalue'] - : __('During current session') - ) - ) + $tpl_query_actions, + $record['db'], + (isset($record['timevalue']) + ? $record['timevalue'] + : __('During current session') + ) + ) . '
' . htmlspecialchars($record['sqlquery']) . ''; diff --git a/libraries/error_report.lib.php b/libraries/error_report.lib.php index 84eb38ac32..02fc4389c9 100644 --- a/libraries/error_report.lib.php +++ b/libraries/error_report.lib.php @@ -52,7 +52,7 @@ function PMA_getPrettyReportData() * returns the error report data collected from the current configuration or * from the request parameters sent by the error reporting js code. * - * @param string $exception_type whether exception is 'js' or 'php' + * @param string $exception_type whether exception is 'js' or 'php' * * @return Array error report if success, Empty Array otherwise */ diff --git a/libraries/sql.lib.php b/libraries/sql.lib.php index 0ca298d584..3e69e37fa7 100644 --- a/libraries/sql.lib.php +++ b/libraries/sql.lib.php @@ -1085,8 +1085,8 @@ function PMA_findRealEndOfRows($db, $table) /** * Function to get values for the relational columns * - * @param String $db the current database - * @param String $table the current table + * @param String $db the current database + * @param String $table the current table * * @return void */