Completed
Push — main ( ee4246...c70c05 )
by Abbotton
01:52
created

Storage   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getOrderList() 0 4 1
1
<?php
2
3
namespace Abbotton\DouDian\Api;
4
5
use Illuminate\Http\Client\RequestException;
6
use Psr\SimpleCache\InvalidArgumentException;
7
8
class Storage extends BaseRequest
9
{
10
    /**
11
     * 回告销退单状态.
12
     *
13
     * @return array
14
     * @throws RequestException
15
     * @throws InvalidArgumentException
16
     */
17
    public function getOrderList(): array
18
    {
19
        return $this->httpPost('storage/notifySaleReturnStatus');
20
    }
21
}
22