ignore switch with only default call

This commit is contained in:
Clemens Schwaighofer
2020-05-11 08:46:01 +09:00
parent 2f1388494f
commit f694539a0b

View File

@@ -340,6 +340,7 @@ class Backend extends \CoreLibs\DB\IO
if ($filename === null) {
return $enabled;
}
/** @phan-suppress-next-line PhanNoopSwitchCases */
switch ($filename) {
default:
$enabled = true;