Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class ActivityController extends AbstractController |
||
20 | { |
||
21 | /** |
||
22 | * List activity. |
||
23 | * |
||
24 | * @Route("", name="index", methods={"GET"}) |
||
25 | * @SWG\Response( |
||
26 | * response=200, |
||
27 | * description="Returns activity", |
||
28 | * @SWG\Schema( |
||
29 | * type="array", |
||
30 | * @SWG\Items(type="string") |
||
31 | * ) |
||
32 | * ) |
||
33 | * @SWG\Tag(name="activity") |
||
34 | * @Security(name="Bearer") |
||
35 | */ |
||
36 | public function index(DocumentManager $dm, Request $request, string $mercurePublicUrl, bool $mercureEnabled = true): Response |
||
47 |