mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
lint.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user