GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 14-14 lines in 2 locations

src/Api/Payment.php 2 locations

@@ 111-124 (lines=14) @@
108
    /**
109
     * {@inheritdoc}
110
     */
111
    public function getOrderStatus($order_id)
112
    {
113
        // Get order status.
114
        // this is GET request so no need to create request object.
115
        $resource = new GetOrderStatus(
116
            $this->app,
117
            $this->getSubscriptionKey(),
118
            $this->getMerchantSerialNumber(),
119
            $order_id
120
        );
121
        /** @var \zaporylie\Vipps\Model\Payment\ResponseGetOrderStatus $response */
122
        $response = $resource->call();
123
        return $response;
124
    }
125
126
    /**
127
     * {@inheritdoc}
@@ 129-142 (lines=14) @@
126
    /**
127
     * {@inheritdoc}
128
     */
129
    public function getPaymentDetails($order_id)
130
    {
131
        // Get payment details.
132
        // this is GET request so no need to create request object.
133
        $resource = new GetPaymentDetails(
134
            $this->app,
135
            $this->getSubscriptionKey(),
136
            $this->getMerchantSerialNumber(),
137
            $order_id
138
        );
139
        /** @var \zaporylie\Vipps\Model\Payment\ResponseGetPaymentDetails $response */
140
        $response = $resource->call();
141
        return $response;
142
    }
143
144
    /**
145
     * {@inheritdoc}