From e552f302537d538a609ed8f95d476d99f4c6e248 Mon Sep 17 00:00:00 2001 From: Derick Alangi Date: Wed, 20 Mar 2019 17:24:35 +0100 Subject: [PATCH] db: Use brackets `()` in operation for better readability Wrap the expression into () to improve readability of the code. Change-Id: Id53ea4709a7601fd1354833a44bd652570c733e6 --- includes/db/DatabaseOracle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/db/DatabaseOracle.php b/includes/db/DatabaseOracle.php index a051d83aef..16bde4b959 100644 --- a/includes/db/DatabaseOracle.php +++ b/includes/db/DatabaseOracle.php @@ -116,7 +116,7 @@ class DatabaseOracle extends Database { $this->setFlag( DBO_PERSISTENT ); } - $session_mode = $this->flags & DBO_SYSDBA ? OCI_SYSDBA : OCI_DEFAULT; + $session_mode = ( $this->flags & DBO_SYSDBA ) ? OCI_SYSDBA : OCI_DEFAULT; Wikimedia\suppressWarnings(); if ( $this->flags & DBO_PERSISTENT ) { -- 2.20.1