fix: formatter
This commit is contained in:
parent
f51c39cd2b
commit
fc028b953e
|
@ -1,6 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
use Appwrite\Auth\Auth;
|
||||||
use Appwrite\Extend\Exception;
|
use Appwrite\Extend\Exception;
|
||||||
|
use Appwrite\Extend\Exception as AppwriteException;
|
||||||
use Appwrite\GraphQL\Promises\Adapter;
|
use Appwrite\GraphQL\Promises\Adapter;
|
||||||
use Appwrite\GraphQL\Schema;
|
use Appwrite\GraphQL\Schema;
|
||||||
use Appwrite\Utopia\Request;
|
use Appwrite\Utopia\Request;
|
||||||
|
@ -14,11 +16,9 @@ use GraphQL\Validator\Rules\QueryDepth;
|
||||||
use Swoole\Coroutine\WaitGroup;
|
use Swoole\Coroutine\WaitGroup;
|
||||||
use Utopia\App;
|
use Utopia\App;
|
||||||
use Utopia\Database\Document;
|
use Utopia\Database\Document;
|
||||||
|
use Utopia\Database\Validator\Authorization;
|
||||||
use Utopia\Validator\JSON;
|
use Utopia\Validator\JSON;
|
||||||
use Utopia\Validator\Text;
|
use Utopia\Validator\Text;
|
||||||
use Appwrite\Auth\Auth;
|
|
||||||
use Utopia\Database\Validator\Authorization;
|
|
||||||
use Appwrite\Extend\Exception as AppwriteException;
|
|
||||||
|
|
||||||
App::init()
|
App::init()
|
||||||
->groups(['graphql'])
|
->groups(['graphql'])
|
||||||
|
|
|
@ -11,6 +11,7 @@ use Appwrite\Event\Func;
|
||||||
use Appwrite\Event\Messaging;
|
use Appwrite\Event\Messaging;
|
||||||
use Appwrite\Event\Usage;
|
use Appwrite\Event\Usage;
|
||||||
use Appwrite\Extend\Exception;
|
use Appwrite\Extend\Exception;
|
||||||
|
use Appwrite\Extend\Exception as AppwriteException;
|
||||||
use Appwrite\Messaging\Adapter\Realtime;
|
use Appwrite\Messaging\Adapter\Realtime;
|
||||||
use Appwrite\Utopia\Request;
|
use Appwrite\Utopia\Request;
|
||||||
use Appwrite\Utopia\Response;
|
use Appwrite\Utopia\Response;
|
||||||
|
@ -26,7 +27,6 @@ use Utopia\Database\Document;
|
||||||
use Utopia\Database\Helpers\Role;
|
use Utopia\Database\Helpers\Role;
|
||||||
use Utopia\Database\Validator\Authorization;
|
use Utopia\Database\Validator\Authorization;
|
||||||
use Utopia\Validator\WhiteList;
|
use Utopia\Validator\WhiteList;
|
||||||
use Appwrite\Extend\Exception as AppwriteException;
|
|
||||||
|
|
||||||
$parseLabel = function (string $label, array $responsePayload, array $requestParams, Document $user) {
|
$parseLabel = function (string $label, array $responsePayload, array $requestParams, Document $user) {
|
||||||
preg_match_all('/{(.*?)}/', $label, $matches);
|
preg_match_all('/{(.*?)}/', $label, $matches);
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
use Appwrite\Auth\Auth;
|
use Appwrite\Auth\Auth;
|
||||||
use Appwrite\Extend\Exception;
|
use Appwrite\Extend\Exception;
|
||||||
|
use Appwrite\Extend\Exception as AppwriteException;
|
||||||
use Appwrite\Messaging\Adapter\Realtime;
|
use Appwrite\Messaging\Adapter\Realtime;
|
||||||
use Appwrite\Network\Validator\Origin;
|
use Appwrite\Network\Validator\Origin;
|
||||||
use Appwrite\Utopia\Request;
|
use Appwrite\Utopia\Request;
|
||||||
|
@ -28,7 +29,6 @@ use Utopia\Database\Validator\Authorization;
|
||||||
use Utopia\Logger\Log;
|
use Utopia\Logger\Log;
|
||||||
use Utopia\WebSocket\Adapter;
|
use Utopia\WebSocket\Adapter;
|
||||||
use Utopia\WebSocket\Server;
|
use Utopia\WebSocket\Server;
|
||||||
use Appwrite\Extend\Exception as AppwriteException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \Utopia\Registry\Registry $register
|
* @var \Utopia\Registry\Registry $register
|
||||||
|
|
Loading…
Reference in a new issue