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