From e551e4ad5bebd29549b8d45612a912b3cd6cadb4 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Mon, 14 Apr 2025 14:23:01 +0100 Subject: [PATCH] chore: fmt --- src/Appwrite/Network/Validator/Origin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Network/Validator/Origin.php b/src/Appwrite/Network/Validator/Origin.php index 78d0db221b..53598da324 100644 --- a/src/Appwrite/Network/Validator/Origin.php +++ b/src/Appwrite/Network/Validator/Origin.php @@ -3,7 +3,6 @@ namespace Appwrite\Network\Validator; use Appwrite\Network\Platform; -use Utopia\CLI\Console; use Utopia\Validator; use Utopia\Validator\Hostname; @@ -96,7 +95,8 @@ class Origin extends Validator * @param string $uri The URI string to parse. * @return string|null The extracted scheme string (e.g., "http", "exp", "mailto") */ - function parseScheme(string $uri): ?string { + public function parseScheme(string $uri): ?string + { $uri = trim($uri); if ($uri === '') { return null; // No scheme in empty string