Test Failed
Pull Request — develop (#41)
by Yuji
04:41
created

UpdateOrderInfoApi::expectsFormFields()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Shippinno\YahooShoppingJp\Api;
4
5
use Shippinno\YahooShoppingJp\HttpMethod;
6
7
/**
8
 * Class UpdateOrderInfoApi
9
 *
10
 * @package Shippinno\YahooShoppingJp\Api
11
 */
12
class UpdateOrderInfoApi extends AbstractApi
13
{
14
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function httpMethod(): HttpMethod
19
    {
20
21
        return HttpMethod::POST();
22
    }
23
24
    /**
25
     * {@inheritdoc}
26
     */
27
    public function path(): string
28
    {
29
        return 'orderChange';
30
    }
31
32
    /**
33
     * {@inheritdoc}
34
     */
35
    public function distillResponse(array $response): array
36
    {
37
        return $response;
38
    }
39
40
    /**
41
     * {@inheritdoc}
42
     */
43
    public function expectsFormFields(): bool
44
    {
45
        return false;
46
    }
47
48
}