1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-20 12:51:40 +02:00

coding style: fixes in code

This commit is contained in:
David Grudl
2017-07-21 22:28:27 +02:00
parent ebf0be1fd0
commit 4f75637b63
35 changed files with 116 additions and 101 deletions

View File

@@ -63,7 +63,7 @@ function reformat($s)
return strtr($s, '[]', '``');
} elseif ($config['system'] === 'postgre') {
return strtr($s, '[]', '""');
} elseif (in_array($config['system'], ['odbc', 'sqlite', 'sqlsrv'])) {
} elseif (in_array($config['system'], ['odbc', 'sqlite', 'sqlsrv'], true)) {
return $s;
} else {
trigger_error("Unsupported driver $config[system]", E_USER_WARNING);