AclMerchantAgentConfig   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getMerchantAgentAclBundleAllowedList() 0 3 1
1
<?php
2
3
/**
4
 * Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace Spryker\Zed\AclMerchantAgent;
9
10
use Spryker\Zed\Kernel\AbstractBundleConfig;
11
12
class AclMerchantAgentConfig extends AbstractBundleConfig
13
{
14
    /**
15
     * @var list<string>
16
     */
17
    protected const MERCHANT_AGENT_ACL_BUNDLE_ALLOWED_LIST = [];
18
19
    /**
20
     * Specification:
21
     * - Retrieves a collection of bundles which merchant agent has ACL access to.
22
     *
23
     * @api
24
     *
25
     * @return list<string>
26
     */
27
    public function getMerchantAgentAclBundleAllowedList(): array
28
    {
29
        return static::MERCHANT_AGENT_ACL_BUNDLE_ALLOWED_LIST;
0 ignored issues
show
Bug Best Practice introduced by
The expression return static::MERCHANT_...ACL_BUNDLE_ALLOWED_LIST returns the type array which is incompatible with the documented return type Spryker\Zed\AclMerchantAgent\list.
Loading history...
30
    }
31
}
32