1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00

Make PHPCS happy.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
This commit is contained in:
Hugues Peccatte
2015-08-24 21:27:25 +02:00
parent 6bb56cf491
commit 62ed7992a8
2 changed files with 3 additions and 3 deletions

View File

@@ -312,7 +312,8 @@ class PMA_Response
$hashes = explode('-', $_REQUEST['menuHashes']);
}
if (! in_array($menuHash, $hashes)) {
$this->addJSON('_menu',
$this->addJSON(
'_menu',
$this->getHeader()
->getMenu()
->getDisplay()

View File

@@ -943,8 +943,7 @@ class PMA_Util
}
if (! $do_it) {
if (!(SqlParser\Context::isKeyword($a_name)
& SqlParser\Token::FLAG_KEYWORD_RESERVED)
if (!(SqlParser\Context::isKeyword($a_name) & SqlParser\Token::FLAG_KEYWORD_RESERVED)
) {
return $a_name;
}