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

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