diff --git a/src/Control/Middleware/ConfirmationMiddleware/HttpMethodBypass.php b/src/Control/Middleware/ConfirmationMiddleware/HttpMethodBypass.php
index <HASH>..<HASH> 100644
--- a/src/Control/Middleware/ConfirmationMiddleware/HttpMethodBypass.php
+++ b/src/Control/Middleware/ConfirmationMiddleware/HttpMethodBypass.php
@@ -48,7 +48,7 @@ class HttpMethodBypass implements Bypass
         // uppercase and exclude empties
         $methods = array_reduce(
             $methods,
-            static function &(&$result, $method) {
+            function ($result, $method) {
                 $method = strtoupper(trim($method));
                 if (strlen($method)) {
                     $result[] = $method;
FIX: Avoid pass-literal-by-reference warning in PHP 8