Issues (3)

Configuration/GeneralInterface.php (2 issues)

1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * Configuration Interface
6
 * @category    Ticaje
7
 * @package     Ticaje_Dummy
8
 * @author      Hector Luis Barrientos <[email protected]>
9
 */
10
11
namespace Ticaje\Dummy\Configuration;
12
13
/**
14
 * Interface GeneralInterface
15
 * @package Ticaje\Dummy\Configuration
16
 * This interface inherits from Ticaje\Configuration\Setting\GeneralInterface because it makes room for creating
17
 * more configurations within uppermost general node, im our example it's dummy_config/general
18
 */
19
interface GeneralInterface
20
{
21
    const XML_GROUP_PATH = 'general';
22
23
    const DEBUG_MODE_FIELD = 'debug_mode';
24
25
    const ENABLED_FIELD = 'enabled';
26
27
    const PRODUCTION_ENVIRONMENT_FIELD = 'production_environment';
28
    /**
29
     * @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...
30
     * @return bool
31
     */
32
    public function inDebugMode($storeId = null): bool;
33
34
    /**
35
     * @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...
36
     * @return bool
37
     */
38
    public function isEnabled($storeId = null): bool;
39
}
40