mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
chore: fmt
This commit is contained in:
parent
67a313cef3
commit
e551e4ad5b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue