Passed
Branch master (6e2713)
by Zangra
14:31
created

ApiException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace GeodisBundle\Service\DAO\Exception;
5
6
use Exception;
7
use Symfony\Component\HttpKernel\Exception\HttpException;
8
9
/**
10
 * Class ApiException.
11
 */
12
class ApiException extends HttpException implements ApiExceptionInterface
13
{
14
    public function __construct(string $message, int $statusCode, Exception $previous = null)
15
    {
16
        parent::__construct($statusCode, $message, $previous);
17
    }
18
}
19