mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
chore: linter
This commit is contained in:
1 parent
803ba6182c
commit
f8c44c8a50
1 file changed
+3
-3
+3
-3
@@ -37,7 +37,7 @@ require_once __DIR__ . '/init.php';
|
||||
Runtime::enableCoroutine(SWOOLE_HOOK_ALL);
|
||||
|
||||
// Allows overriding
|
||||
if(!function_exists("getConsoleDB")) {
|
||||
if (!function_exists("getConsoleDB")) {
|
||||
function getConsoleDB(): Database
|
||||
{
|
||||
global $register;
|
||||
@@ -63,7 +63,7 @@ if(!function_exists("getConsoleDB")) {
|
||||
}
|
||||
|
||||
// Allows overriding
|
||||
if(!function_exists("getProjectDB")) {
|
||||
if (!function_exists("getProjectDB")) {
|
||||
function getProjectDB(Document $project): Database
|
||||
{
|
||||
global $register;
|
||||
@@ -93,7 +93,7 @@ if(!function_exists("getProjectDB")) {
|
||||
}
|
||||
|
||||
// Allows overriding
|
||||
if(!function_exists("getCache")) {
|
||||
if (!function_exists("getCache")) {
|
||||
function getCache(): Cache
|
||||
{
|
||||
global $register;
|
||||
|
||||
Reference in new issue
Block a user