mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Refactor: Clean up code formatting in Compute, Functions, and Sites modules
This commit is contained in:
parent
013e961c37
commit
d3fac8ae07
3 changed files with 2 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ class Base extends Action
|
||||||
return $allowedSpecifications[0] ?? APP_COMPUTE_SPECIFICATION_DEFAULT;
|
return $allowedSpecifications[0] ?? APP_COMPUTE_SPECIFICATION_DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function redeployVcsFunction(Request $request, Document $function, Document $project, Document $installation, Database $dbForProject, Build $queueForBuilds, Document $template, GitHub $github, bool $activate, string $referenceType = 'branch', string $reference = ''): Document
|
public function redeployVcsFunction(Request $request, Document $function, Document $project, Document $installation, Database $dbForProject, Build $queueForBuilds, Document $template, GitHub $github, bool $activate, string $referenceType = 'branch', string $reference = ''): Document
|
||||||
{
|
{
|
||||||
$deploymentId = ID::unique();
|
$deploymentId = ID::unique();
|
||||||
$entrypoint = $function->getAttribute('entrypoint', '');
|
$entrypoint = $function->getAttribute('entrypoint', '');
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,6 @@ class Create extends Base
|
||||||
Event $queueForEvents,
|
Event $queueForEvents,
|
||||||
Build $queueForBuilds,
|
Build $queueForBuilds,
|
||||||
GitHub $github,
|
GitHub $github,
|
||||||
|
|
||||||
) {
|
) {
|
||||||
$function = $dbForProject->getDocument('functions', $functionId);
|
$function = $dbForProject->getDocument('functions', $functionId);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue