Storage   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getOrderList() 0 3 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
     * @throws RequestException
14
     * @throws InvalidArgumentException
15
     *
16
     * @return array
17
     */
18
    public function getOrderList(): array
19
    {
20
        return $this->httpPost('storage/notifySaleReturnStatus');
21
    }
22
}
23