Skip to content

Commit

Permalink
Merge pull request #6754 from ChurchCRM/analysis-yrjjM5
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
DAcodedBEAT authored Dec 14, 2023
2 parents cffcd3f + bc009df commit 470711c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/api/routes/finance/finance-deposits.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

$group->get(
'',
fn(Request $request, Response $response, array $args): Response => SlimUtils::renderStringJSON(
fn (Request $request, Response $response, array $args): Response => SlimUtils::renderStringJSON(
$response,
DepositQuery::create()->find()->toJSON()
)
Expand Down
6 changes: 3 additions & 3 deletions src/api/routes/people/people-groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
$app->group('/groups', function (RouteCollectorProxy $group) {
$group->get(
'/',
fn(Request $request, Response $response) => SlimUtils::renderJSON(
fn (Request $request, Response $response) => SlimUtils::renderJSON(
$response,
GroupQuery::create()->find()->toArray()
)
Expand Down Expand Up @@ -53,15 +53,15 @@

$group->get(
'/{groupID:[0-9]+}',
fn(Request $request, Response $response, array $args): Response => SlimUtils::renderJSON(
fn (Request $request, Response $response, array $args): Response => SlimUtils::renderJSON(
$response,
GroupQuery::create()->findOneById($args['groupID'])->toArray()
)
);

$group->get(
'/{groupID:[0-9]+}/cartStatus',
fn(Request $request, Response $response, array $args): Response => SlimUtils::renderJSON(
fn (Request $request, Response $response, array $args): Response => SlimUtils::renderJSON(
$response,
GroupQuery::create()->findOneById($args['groupID'])->checkAgainstCart()
)
Expand Down

0 comments on commit 470711c

Please sign in to comment.