| Total Complexity | 6 | 
| Total Lines | 75 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 5 | class Conflict  | 
            ||
| 6 | { | 
            ||
| 7 | /**  | 
            ||
| 8 | * @var string  | 
            ||
| 9 | */  | 
            ||
| 10 | protected $responseName;  | 
            ||
| 11 | |||
| 12 | /**  | 
            ||
| 13 | * @var mixed  | 
            ||
| 14 | */  | 
            ||
| 15 | protected $reason;  | 
            ||
| 16 | |||
| 17 | /**  | 
            ||
| 18 | * @var array  | 
            ||
| 19 | */  | 
            ||
| 20 | protected $fieldsA;  | 
            ||
| 21 | |||
| 22 | /**  | 
            ||
| 23 | * @var array  | 
            ||
| 24 | */  | 
            ||
| 25 | protected $fieldsB;  | 
            ||
| 26 | |||
| 27 | /**  | 
            ||
| 28 | * Conflict constructor.  | 
            ||
| 29 | * @param string $responseName  | 
            ||
| 30 | * @param mixed $reason  | 
            ||
| 31 | * @param array|null $fieldsA  | 
            ||
| 32 | * @param array|null $fieldsB  | 
            ||
| 33 | */  | 
            ||
| 34 | public function __construct(string $responseName, $reason, array $fieldsA, array $fieldsB)  | 
            ||
| 35 |     { | 
            ||
| 36 | $this->responseName = $responseName;  | 
            ||
| 37 | $this->reason = $reason;  | 
            ||
| 38 | $this->fieldsA = $fieldsA;  | 
            ||
| 39 | $this->fieldsB = $fieldsB;  | 
            ||
| 40 | }  | 
            ||
| 41 | |||
| 42 | /**  | 
            ||
| 43 | * @return string  | 
            ||
| 44 | */  | 
            ||
| 45 | public function getResponseName(): string  | 
            ||
| 46 |     { | 
            ||
| 47 | return $this->responseName;  | 
            ||
| 48 | }  | 
            ||
| 49 | |||
| 50 | /**  | 
            ||
| 51 | * @return mixed  | 
            ||
| 52 | */  | 
            ||
| 53 | public function getReason()  | 
            ||
| 54 |     { | 
            ||
| 55 | return $this->reason;  | 
            ||
| 56 | }  | 
            ||
| 57 | |||
| 58 | /**  | 
            ||
| 59 | * @return array  | 
            ||
| 60 | */  | 
            ||
| 61 | public function getFieldsA(): array  | 
            ||
| 64 | }  | 
            ||
| 65 | |||
| 66 | /**  | 
            ||
| 67 | * @return array  | 
            ||
| 68 | */  | 
            ||
| 69 | public function getFieldsB(): array  | 
            ||
| 70 |     { | 
            ||
| 71 | return $this->fieldsB;  | 
            ||
| 72 | }  | 
            ||
| 73 | |||
| 74 | /**  | 
            ||
| 75 | * @return array  | 
            ||
| 76 | */  | 
            ||
| 77 | public function getAllFields(): array  | 
            ||
| 80 | }  | 
            ||
| 81 | }  | 
            ||
| 82 |