From 750bfbbcb4fb62fd645371401220774bcda08da6 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Fri, 23 Jan 2015 16:56:59 +0530 Subject: [PATCH] Fix coding style violations Signed-off-by: Madhura Jayaratne --- libraries/navigation/Nodes/Node.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/navigation/Nodes/Node.class.php b/libraries/navigation/Nodes/Node.class.php index 7eac8ba463..3356629899 100644 --- a/libraries/navigation/Nodes/Node.class.php +++ b/libraries/navigation/Nodes/Node.class.php @@ -640,14 +640,14 @@ class Node /** * Detemines whether a given database should be hidden according to 'hide_db' * - * @param string $db - * database name + * @param string $db database name * * @return boolean whether to hide */ - private function _isHideDb($db) { - if (! empty ( $GLOBALS ['cfg'] ['Server'] ['hide_db'] ) - && preg_match ( '/' . $GLOBALS ['cfg'] ['Server'] ['hide_db'] . '/', $db ) + private function _isHideDb($db) + { + if (! empty($GLOBALS['cfg']['Server']['hide_db']) + && preg_match('/' . $GLOBALS['cfg']['Server']['hide_db'] . '/', $db) ) { return true; }