From f42cdf800a4d4356cfdbea9daf9c1e8f4a488c0b Mon Sep 17 00:00:00 2001 From: Theodore Brown Date: Mon, 11 Nov 2024 01:29:02 -0600 Subject: [PATCH] Fix inconsistent switch case syntax (#530) --- src/models/router/RouterRules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/router/RouterRules.php b/src/models/router/RouterRules.php index 6733a79d9..82e33b947 100644 --- a/src/models/router/RouterRules.php +++ b/src/models/router/RouterRules.php @@ -95,7 +95,7 @@ protected function scanRule($rule, $type = null) case WebUrlRule::CREATION_ONLY: $mode = 'creation only'; break; - case null; + case null: $mode = null; break; default: