Completed
Pull Request — master (#141)
by
unknown
11:45
created

TicketStatusConflictException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
c 0
b 0
f 0
nc 1
nop 3
dl 0
loc 4
rs 10
1
<?php
2
3
namespace AppBundle\Exception;
4
5
use Symfony\Component\HttpKernel\Exception\HttpException;
6
7
class TicketStatusConflictException extends HttpException
8
{
9
    /**
10
     * Constructor.
11
     *
12
     * @param string     $message  The internal exception message
13
     * @param \Exception $previous The previous exception
14
     * @param int        $code     The internal exception code
15
     */
16
    public function __construct($message = null, \Exception $previous = null, $code = 409)
17
    {
18
        parent::__construct($code, $message, $previous, array(), $code);
19
    }
20
}
21