From ba62e8a600c78b9d4dc30f3bcefeb9cb5673c12d Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Tue, 10 Dec 2024 20:37:47 +0700 Subject: [PATCH] refactor: Cors: before never returns string --- system/Filters/Cors.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Filters/Cors.php b/system/Filters/Cors.php index 2c2d805c2d74..9a9bbb208152 100644 --- a/system/Filters/Cors.php +++ b/system/Filters/Cors.php @@ -48,7 +48,7 @@ public function __construct(array $config = []) /** * @param list|null $arguments * - * @return ResponseInterface|string|null + * @return ResponseInterface|null */ public function before(RequestInterface $request, $arguments = null) {