Completed
Push — master ( cd54d5...b808c3 )
by
unknown
18s
created

ResultBaseField::getAll()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 16

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 16
rs 9.7333
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
4
namespace Covery\Client;
5
6
7
class ResultBaseField
8
{
9
    const REQUEST_ID = 'requestId';
10
    const TYPE = 'type';
11
    const CREATED_AT = 'createdAt';
12
    const SEQUENCE_ID = 'sequenceId';
13
    const MERCHANT_USER_ID = 'merchantUserId';
14
    const SCORE = 'score';
15
    const ACCEPT = 'accept';
16
    const REJECT = 'reject';
17
    const MANUAL = 'manual';
18
    const REASON = 'reason';
19
    const ACTION = 'action';
20
21
    public static function getAll()
22
    {
23
        return [
24
            self::REQUEST_ID,
25
            self::TYPE,
26
            self::CREATED_AT,
27
            self::SEQUENCE_ID,
28
            self::MERCHANT_USER_ID,
29
            self::SCORE,
30
            self::ACCEPT,
31
            self::REJECT,
32
            self::MANUAL,
33
            self::REASON,
34
            self::ACTION
35
        ];
36
    }
37
}
38