1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-12 17:14:16 +02:00

coding style: fixes in code

This commit is contained in:
David Grudl
2017-07-11 12:29:13 +02:00
parent a299c622c3
commit dac0a116a8
32 changed files with 88 additions and 86 deletions

View File

@@ -60,7 +60,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);