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

ReceiverException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 15
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
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
}