Passed
Pull Request — master (#40)
by
unknown
04:48
created

Options::getAvailableMealVouchersCategory()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file has been created by developers from BitBag.
5
 * Feel free to contact us once you face any issues or want to start
6
 * another great project.
7
 * You can find more information about us on https://bitbag.shop and write us
8
 * an email on [email protected].
9
 */
10
11
declare(strict_types=1);
12
13
namespace BitBag\SyliusMolliePlugin\MealVouchers;
14
15
final class Options
16
{
17
    public const MEAL = 'meal';
18
    public const ECO = 'eco';
19
    public const GIFT = 'gift';
20
21
    public static function getAvailableMealVouchersCategory(): array
22
    {
23
        return [
24
            self::MEAL => self::MEAL,
25
            self::ECO => self::ECO,
26
            self::GIFT => self::GIFT,
27
        ];
28
    }
29
}
30