Index   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 1
b 0
f 0
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A notFound() 0 7 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AbterPhp\Admin\Http\Controllers\Api;
6
7
use Opulence\Http\Responses\Response;
8
use Opulence\Http\Responses\ResponseHeaders;
9
use Opulence\Routing\Controller;
10
11
class Index extends Controller
12
{
13
    /**
14
     * @return Response
15
     */
16
    public function notFound(): Response
17
    {
18
        $response = new Response();
19
20
        $response->setStatusCode(ResponseHeaders::HTTP_NOT_IMPLEMENTED);
21
22
        return $response;
23
    }
24
}
25