Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 4caf885

Browse files
committed
chore: Lint and Reformat
1 parent a9158eb commit 4caf885

File tree

7 files changed

+18
-4
lines changed

7 files changed

+18
-4
lines changed

config/packages/monolog.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
->path('php://stderr')
7070
->formatter('monolog.formatter.json')
7171
->channels()
72-
->elements(['deprecation']);
72+
->elements(['deprecation'])
73+
;
7374
}
7475
};

config/packages/security.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
->algorithm('auto')
9393
->cost(4)
9494
->timeCost(3)
95-
->memoryCost(10);
95+
->memoryCost(10)
96+
;
9697
}
9798
};

config/services.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@
6060
;
6161

6262
$services->set(EmailTemplateController::class)
63-
->arg('$projectDir', param('kernel.project_dir'));
63+
->arg('$projectDir', param('kernel.project_dir'))
64+
;
6465
};

src/Entity/ChallengeDto/FallableSqlRunnerResult.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
namespace App\Entity\ChallengeDto;
66

77
use App\Entity\SqlRunnerDto\SqlRunnerResult;
8-
use App\Service\SqlRunnerService;
98
use Symfony\Component\Translation\TranslatableMessage;
109

1110
/**

src/Twig/Components/Challenge/Tabs/Events.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
final class Events
1818
{
1919
use DefaultActionTrait;
20+
21+
/**
22+
* @phpstan-use Pagination<SolutionEvent>
23+
*/
2024
use Pagination;
2125

2226
#[LiveProp]

src/Twig/Components/Challenge/Tabs/Pagination.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
* * `hasNext` property to check if there is a next page.
2121
* * `goPrevious` action to go to the previous page.
2222
* * `goNext` action to go to the next page.
23+
*
24+
* @template T
2325
*/
2426
trait Pagination
2527
{
@@ -30,6 +32,8 @@ trait Pagination
3032

3133
/**
3234
* Get the data for the current page.
35+
*
36+
* @return T[]
3337
*/
3438
abstract public function getData(): array;
3539

src/Twig/Components/Challenge/Tabs/SqlRunnerResultTable.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
final class SqlRunnerResultTable
1414
{
1515
use DefaultActionTrait;
16+
17+
/**
18+
* @phpstan-use Pagination<array<string>>
19+
*/
1620
use Pagination;
1721

1822
/**

0 commit comments

Comments
 (0)