Passed
Push — master ( fc580a...f42173 )
by Hector Luis
09:33 queued 12s
created

Base   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A inDebugMode() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * Base Configuration Class
6
 * @category    Ticaje
7
 * @package     Ticaje_Dummy
8
 * @author      Hector Luis Barrientos <[email protected]>
9
 */
10
11
namespace Ticaje\Dummy\Configuration;
12
13
use Ticaje\Configuration\Setting\Base as ParentClass;
14
15
/**
16
 * Class Base
17
 * @package Ticaje\Dummy\Configuration
18
 */
19
abstract class Base extends ParentClass implements GeneralInterface
20
{
21
    protected $xmlBasePath = ConfigInterface::XML_BASE_PATH;
22
23
    protected $generalPath = GeneralInterface::XML_FIELD_GENERAL; // This is general section
24
25
    /**
26
     * @param null $storeId
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $storeId is correct as it would always require null to be passed?
Loading history...
27
     * @return mixed|string
28
     */
29
    public function inDebugMode($storeId = null)
30
    {
31
        return $this->getGeneralConfig(self::DEBUG_MODE_FIELD, $storeId);
32
    }
33
}
34