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-16 lines in 2 locations

application/modules/shop/controllers/BackendWarehouseController.php 2 locations

@@ 215-230 (lines=16) @@
212
        );
213
    }
214
215
    public function actionEditPhone($id, $returnUrl)
216
    {
217
        $warehousePhone = WarehousePhone::findOne($id);
218
219
        if (Yii::$app->request->post('WarehousePhone')) {
220
            $warehousePhone->loadDefaultValues();
221
            $warehousePhone->load(Yii::$app->request->post());
222
            if ($warehousePhone->save()) {
223
                $this->redirect($returnUrl);
224
            }
225
        }
226
227
228
229
        return $this->render('form_edit_phone', ['warehousePhone' => $warehousePhone]);
230
    }
231
232
233
    public function actionEditEmail($id, $returnUrl)
@@ 233-246 (lines=14) @@
230
    }
231
232
233
    public function actionEditEmail($id, $returnUrl)
234
    {
235
        $warehouseEmail = WarehouseEmail::findOne($id);
236
237
        if (Yii::$app->request->post('WarehouseEmail')) {
238
            $warehouseEmail->loadDefaultValues();
239
            $warehouseEmail->load(Yii::$app->request->post());
240
            if ($warehouseEmail->save()) {
241
                $this->redirect($returnUrl);
242
            }
243
        }
244
245
        return $this->render('form_edit_email', ['warehouseEmail' => $warehouseEmail]);
246
    }
247
248
    public function actionDeletePhone($id)
249
    {