This repository was archived by the owner on Oct 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +18
-4
lines changed
Twig/Components/Challenge/Tabs Expand file tree Collapse file tree 7 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 6969 ->path ('php://stderr ' )
7070 ->formatter ('monolog.formatter.json ' )
7171 ->channels ()
72- ->elements (['deprecation ' ]);
72+ ->elements (['deprecation ' ])
73+ ;
7374 }
7475};
Original file line number Diff line number Diff line change 9292 ->algorithm ('auto ' )
9393 ->cost (4 )
9494 ->timeCost (3 )
95- ->memoryCost (10 );
95+ ->memoryCost (10 )
96+ ;
9697 }
9798};
Original file line number Diff line number Diff line change 6060 ;
6161
6262 $ services ->set (EmailTemplateController::class)
63- ->arg ('$projectDir ' , param ('kernel.project_dir ' ));
63+ ->arg ('$projectDir ' , param ('kernel.project_dir ' ))
64+ ;
6465};
Original file line number Diff line number Diff line change 55namespace App \Entity \ChallengeDto ;
66
77use App \Entity \SqlRunnerDto \SqlRunnerResult ;
8- use App \Service \SqlRunnerService ;
98use Symfony \Component \Translation \TranslatableMessage ;
109
1110/**
Original file line number Diff line number Diff line change 1717final class Events
1818{
1919 use DefaultActionTrait;
20+
21+ /**
22+ * @phpstan-use Pagination<SolutionEvent>
23+ */
2024 use Pagination;
2125
2226 #[LiveProp]
Original file line number Diff line number Diff line change 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 */
2426trait 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
Original file line number Diff line number Diff line change 1313final class SqlRunnerResultTable
1414{
1515 use DefaultActionTrait;
16+
17+ /**
18+ * @phpstan-use Pagination<array<string>>
19+ */
1620 use Pagination;
1721
1822 /**
You can’t perform that action at this time.
0 commit comments