GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( f51f95...468920 )
by Andreas
03:39
created

MinuteInterval::toOptionArray()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 8
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 10
rs 10
1
<?php
2
declare(strict_types=1);
3
/**
4
 */
5
6
namespace CommerceLeague\ActiveCampaign\Model\Config\Source;
7
8
use Magento\Framework\Data\OptionSourceInterface;
9
10
/**
11
 * Class MinuteInterval
12
 */
13
class MinuteInterval implements OptionSourceInterface
14
{
15
    /**
16
     * @inheritDoc
17
     */
18
    public function toOptionArray()
19
    {
20
        return [
21
            ['value' => 15, 'label' => __('15 Minutes')],
22
            ['value' => 20, 'label' => __('20 Minutes')],
23
            ['value' => 25, 'label' => __('25 Minutes')],
24
            ['value' => 30, 'label' => __('30 Minutes')],
25
            ['value' => 40, 'label' => __('40 Minutes')],
26
            ['value' => 50, 'label' => __('50 Minutes')],
27
            ['value' => 60, 'label' => __('60 Minutes')],
28
        ];
29
    }
30
}
31