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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user