diff --git a/src/Appwrite/Platform/Installer/Server.php b/src/Appwrite/Platform/Installer/Server.php index 42dff846e5..5a16ca7570 100644 --- a/src/Appwrite/Platform/Installer/Server.php +++ b/src/Appwrite/Platform/Installer/Server.php @@ -153,7 +153,7 @@ class Server ->inject('response') ->action($errorHandler->action(...)); - $adapter = new class($host, $port, ['worker_num' => 1]) extends SwooleAdapter { + $adapter = new class ($host, $port, ['worker_num' => 1]) extends SwooleAdapter { public function getNativeServer(): SwooleServer { return $this->server; diff --git a/tests/unit/Platform/Modules/Installer/ModuleTest.php b/tests/unit/Platform/Modules/Installer/ModuleTest.php index 4246ab1848..6c1bfbeb10 100644 --- a/tests/unit/Platform/Modules/Installer/ModuleTest.php +++ b/tests/unit/Platform/Modules/Installer/ModuleTest.php @@ -2,8 +2,8 @@ namespace Tests\Unit\Platform\Modules\Installer; -use Appwrite\Platform\Installer\Http\Installer\Complete; use Appwrite\Platform\Installer\Http\Installer\Cleanup; +use Appwrite\Platform\Installer\Http\Installer\Complete; use Appwrite\Platform\Installer\Http\Installer\Error; use Appwrite\Platform\Installer\Http\Installer\Install; use Appwrite\Platform\Installer\Http\Installer\Shutdown; @@ -151,7 +151,7 @@ class ModuleTest extends TestCase */ public function testRouteRegistration(): void { - $platform = new class(new Module()) extends Platform {}; + $platform = new class (new Module()) extends Platform {}; $platform->init(Service::TYPE_HTTP); // If we get here without exceptions, route registration succeeded