Issues (3641)

Zed/AclMerchantAgent/AclMerchantAgentConfig.php (1 issue)

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