aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/driver/mysqli.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-10-29 00:00:00 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-10-29 00:00:00 +0100
commit59e3c2d16e5fa3eb6f1a872657454b437b72ae63 (patch)
tree4b73ff239faac9125c1998eba0de8d8e607041d4 /phpBB/phpbb/db/driver/mysqli.php
parented94e3c5761cc188fc6e1e7943a888d30bd0e7b9 (diff)
parent7f58a4572eaca75aecff2da889e67ea151616011 (diff)
downloadforums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.tar
forums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.tar.gz
forums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.tar.bz2
forums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.tar.xz
forums-59e3c2d16e5fa3eb6f1a872657454b437b72ae63.zip
Merge remote-tracking branch 'marc1706/ticket/11981' into develop
* marc1706/ticket/11981: [ticket/11981] Fix code sniffer complaints
Diffstat (limited to 'phpBB/phpbb/db/driver/mysqli.php')
-rw-r--r--phpBB/phpbb/db/driver/mysqli.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/db/driver/mysqli.php b/phpBB/phpbb/db/driver/mysqli.php
index 4d0e43b464..6144dba0c4 100644
--- a/phpBB/phpbb/db/driver/mysqli.php
+++ b/phpBB/phpbb/db/driver/mysqli.php
@@ -47,11 +47,11 @@ class mysqli extends \phpbb\db\driver\mysql_base
$this->server = ($this->persistency) ? 'p:' . (($sqlserver) ? $sqlserver : 'localhost') : $sqlserver;
$this->dbname = $database;
- $port = (!$port) ? NULL : $port;
+ $port = (!$port) ? null : $port;
// If port is set and it is not numeric, most likely mysqli socket is set.
// Try to map it to the $socket parameter.
- $socket = NULL;
+ $socket = null;
if ($port)
{
if (is_numeric($port))
@@ -61,7 +61,7 @@ class mysqli extends \phpbb\db\driver\mysql_base
else
{
$socket = $port;
- $port = NULL;
+ $port = null;
}
}