Passed
Pull Request — master (#668)
by Eugenia
08:19
created

ServicePointSearchConfig   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getServicePointSearchSynchronizationPoolName() 0 3 1
1
<?php
2
3
/**
4
 * This file is part of the Spryker Commerce OS.
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
declare(strict_types = 1);
9
10
namespace Pyz\Zed\ServicePointSearch;
11
12
use Pyz\Zed\Synchronization\SynchronizationConfig;
13
use Spryker\Zed\ServicePointSearch\ServicePointSearchConfig as SprykerServicePointSearchConfig;
14
15
class ServicePointSearchConfig extends SprykerServicePointSearchConfig
16
{
17
    /**
18
     * @return string|null
19
     */
20
    public function getServicePointSearchSynchronizationPoolName(): ?string
21
    {
22
        return SynchronizationConfig::DEFAULT_SYNCHRONIZATION_POOL_NAME;
23
    }
24
}
25