Passed
Push — develop ( 6890af...41eb0d )
by Nikita
05:40
created

InvalidCertificateException::getStatusCode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Gameap\Exceptions\Repositories;
4
5
use Gameap\Exceptions\Http\HttpException;
6
use Illuminate\Http\Response;
7
8
class InvalidCertificateException extends HttpException
9
{
10
    public function getStatusCode()
11
    {
12
        return Response::HTTP_UNPROCESSABLE_ENTITY;
13
    }
14
15
    public function getHeaders()
16
    {
17
        return [];
18
    }
19
}