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   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A toOptionArray() 0 10 1
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