Passed
Push — dev ( c1ef85...1369fb )
by Jan
03:56
created

Info::getValueView()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 2
eloc 4
c 1
b 0
f 1
nc 2
nop 2
dl 0
loc 7
rs 10
1
<?php
2
/**
3
 * Copyright © 2016 Magento. All rights reserved.
4
 * See COPYING.txt for license details.
5
 */
6
namespace Getloy\GetloyMagentoGateway\Block;
7
8
use Magento\Framework\Phrase;
9
use Magento\Payment\Block\ConfigurableInfo;
10
11
class Info extends ConfigurableInfo
12
{
13
    /**
14
     * Returns label
15
     *
16
     * @param string $field
17
     * @return Phrase
18
     */
19
    protected function getLabel($field)
20
    {
21
        return __($field);
22
    }
23
}
24