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) { if ($filename === null) {
return $enabled; return $enabled;
} }
/** @phan-suppress-next-line PhanNoopSwitchCases */
switch ($filename) { switch ($filename) {
default: default:
$enabled = true; $enabled = true;