Test Failed
Pull Request — master (#39)
by Aleksandr
05:36
created

ReceiverException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 6
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace OldSound\RabbitMqBundle\Receiver;
4
5
class ReceiverException extends \Exception
6
{
7
    /**
8
     * @see ReceiverInterface::MSG_ACK
9
     * @see ReceiverInterface::MSG_ACK_SENT
10
     * @see ReceiverInterface::MSG_REJECT
11
     * @see ReceiverInterface::MSG_REJECT_REQUEUE
12
     * @see ReceiverInterface::MSG_ACK_SENT
13
     */
14
    public function __construct(
15
        $code = ReceiverInterface::MSG_SINGLE_NACK_REQUEUE,
16
        $message = "",
17
        Throwable $previous = null
0 ignored issues
show
Bug introduced by
The type OldSound\RabbitMqBundle\Receiver\Throwable was not found. Did you mean Throwable? If so, make sure to prefix the type with \.
Loading history...
18
    ) {
19
        parent::__construct($message, $code, $previous);
20
    }
21
}