Issues (453)

src/Services/StoresServiceInterface.php (4 issues)

1
<?php
2
3
/*
4
 * This file is part of PHP CS Fixer.
5
 *
6
 * (c) Fabien Potencier <[email protected]>
7
 *     Dariusz RumiƄski <[email protected]>
8
 *
9
 * This source file is subject to the MIT license that is bundled
10
 * with this source code in the file LICENSE.
11
 */
12
13
namespace Etrias\PaazlConnector\Services;
14
15
use Etrias\PaazlConnector\SoapTypes\ChangeStoresResponseType;
16
use Etrias\PaazlConnector\SoapTypes\DeleteStoresResponse;
17
use Etrias\PaazlConnector\SoapTypes\ListStoresResponse;
18
use Etrias\PaazlConnector\SoapTypes\StoreDetailsType;
19
20
interface StoresServiceInterface
21
{
22
    /**
23
     * @param StoreDetailsType[] $stores
24
     * @param null               $targetWebShop
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $targetWebShop is correct as it would always require null to be passed?
Loading history...
25
     *
26
     * @return ChangeStoresResponseType
27
     */
28
    public function createStores(array $stores, $targetWebShop = null);
29
30
    /**
31
     * @param StoreDetailsType[] $stores
32
     * @param null               $targetWebShop
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $targetWebShop is correct as it would always require null to be passed?
Loading history...
33
     *
34
     * @return ChangeStoresResponseType
35
     */
36
    public function updateStores(array $stores, $targetWebShop = null);
37
38
    /**
39
     * @param array $storeCodes
40
     * @param null  $targetWebShop
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $targetWebShop is correct as it would always require null to be passed?
Loading history...
41
     *
42
     * @return DeleteStoresResponse
43
     */
44
    public function deleteStores(array $storeCodes, $targetWebShop = null);
45
46
    /**
47
     * @param null $targetWebShop
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $targetWebShop is correct as it would always require null to be passed?
Loading history...
48
     *
49
     * @return ListStoresResponse
50
     */
51
    public function listStores($targetWebShop = null);
52
}
53