summaryrefslogtreecommitdiffstats
path: root/lib/mysql.php
diff options
context:
space:
mode:
authorWebysther Nunes <Webysther@users.noreply.github.com>2017-09-29 17:57:22 -0300
committerDavey Shafik <davey@php.net>2017-09-29 13:57:22 -0700
commitee9f15f81480225b58be74188818bdf7fcc12790 (patch)
tree950a7ee4c7b2c30f27cdb80b93b3bbf861f87a9f /lib/mysql.php
parent8e5eda9ae59d8586a0d4c605aca76ec61b4f9cee (diff)
downloadphp7-mysql-shim-ee9f15f81480225b58be74188818bdf7fcc12790.zip
php7-mysql-shim-ee9f15f81480225b58be74188818bdf7fcc12790.tar.gz
php7-mysql-shim-ee9f15f81480225b58be74188818bdf7fcc12790.tar.bz2
Run phpcbf (#35)
Diffstat (limited to 'lib/mysql.php')
-rw-r--r--lib/mysql.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mysql.php b/lib/mysql.php
index 5461e98..025d6af 100644
--- a/lib/mysql.php
+++ b/lib/mysql.php
@@ -153,9 +153,9 @@ namespace {
$link = \Dshafik\MySQL::getConnection($link);
return mysqli_query(
- $link,
- 'USE `' . mysqli_real_escape_string($link, $databaseName) . '`'
- ) !== false;
+ $link,
+ 'USE `' . mysqli_real_escape_string($link, $databaseName) . '`'
+ ) !== false;
}
function mysql_query($query, \mysqli $link = null)