From eed6fd1d9feaea139c14d27e583e3b5cfc9ea392 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 30 Apr 2024 17:47:54 +0300 Subject: [PATCH] format global variables --- src/server.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/server.php b/src/server.php index eb9f62e..b538b94 100644 --- a/src/server.php +++ b/src/server.php @@ -46,8 +46,8 @@ $server->setWelcome( string $connect ): ?string { - global $config; - global $session; + global $config, + $session; // Cleanup expired sessions foreach ($session as $key => $value) @@ -149,8 +149,8 @@ $server->setPending( string $connect ): ?string { - global $config; - global $session; + global $config, + $session; // Filter request $request = trim( @@ -214,8 +214,8 @@ $server->setHandler( string $connect ): ?string { - global $config; - global $session; + global $config, + $session; // Filter request $request = trim(