GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

SecurityController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 27
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A loginAction() 0 2 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Damax\Bundle\ApiAuthBundle\Controller;
6
7
use Swagger\Annotations as OpenApi;
8
use Symfony\Component\Routing\Annotation\Route;
9
10
class SecurityController
11
{
12
    /**
13
     * @OpenApi\Post(
14
     *     tags={"security"},
15
     *     summary="User login.",
16
     *     @OpenApi\Parameter(
17
     *         name="body",
18
     *         in="body",
19
     *         required=true,
20
     *         @OpenApi\Schema(ref="#/definitions/SecurityLogin")
21
     *     ),
22
     *     @OpenApi\Response(
23
     *         response=200,
24
     *         description="Authentication result.",
25
     *         @OpenApi\Schema(ref="#/definitions/SecurityLoginResult")
26
     *     ),
27
     *     @OpenApi\Response(
28
     *         response=401,
29
     *         description="Bad credentials."
30
     *     )
31
     * )
32
     *
33
     * @Route("/login", methods={"POST"}, name="security_login")
34
     */
35
    public function loginAction()
36
    {
37
    }
38
}
39