FraudPrevention   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getResult() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ticketpark\SaferpayJson\Response\Container;
6
7
use JMS\Serializer\Annotation\SerializedName;
8
9
final class FraudPrevention
10
{
11
    public const APPROVED = 'APPROVED';
12
    public const MANUAL_REVIEW = 'MANUAL_REVIEW';
13
14
    /**
15
     * @var string|null
16
     * @SerializedName("Result")
17
     */
18
    private $result;
19
20
    public function getResult(): ?string
21
    {
22
        return $this->result;
23
    }
24
}
25