Code Duplication    Length = 11-11 lines in 2 locations

src/Services/CheckoutService.php 2 locations

@@ 44-54 (lines=11) @@
41
    /**
42
     * {@inheritdoc}
43
     */
44
    public function getCheckoutUrl($orderReference, $targetWebShop = null)
45
    {
46
        $request = new BaseCheckoutRequestType(
47
            $this->security->getHash($orderReference),
48
            $this->client->getWebShopId(),
49
            $targetWebShop,
50
            $orderReference
51
        );
52
53
        return $this->client->checkout($request);
54
    }
55
56
    /**
57
     * {@inheritdoc}
@@ 59-69 (lines=11) @@
56
    /**
57
     * {@inheritdoc}
58
     */
59
    public function getCheckoutStatus($orderReference, $targetWebShop = null)
60
    {
61
        $request = new BaseCheckoutRequestType(
62
            $this->security->getHash($orderReference),
63
            $this->client->getWebShopId(),
64
            $targetWebShop,
65
            $orderReference
66
        );
67
68
        return $this->client->checkoutStatus($request);
69
    }
70
}
71