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

ApiException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 3
dl 0
loc 3
rs 10
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