This commit is contained in:
Darshan
2026-03-05 14:03:30 +05:30
parent 7d72fd77e5
commit 94c511f39a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;
@@ -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