DummyExtendedEnum::titles()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 *  @copyright (c) 2019 Mendel <[email protected]>
5
 *  @license see license.txt
6
 */
7
8
namespace drycart\data\tests\dummy;
9
10
/**
11
 * Extended enum example for test
12
 *
13
 * @author mendel
14
 */
15
class DummyExtendedEnum extends DummyEnum
16
{
17
    const SUPER_ADMIN = 100;
18
    
19
    protected static function titles(): array
20
    {
21
        return ['USER'=>'Default user'];
22
    }
23
}
24