Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Code Duplication    Length = 8-9 lines in 2 locations

src/Crud.php 1 location

@@ 236-244 (lines=9) @@
233
     * @param  [Request] All inputs to be updated.
234
     * @return [Eloquent Collection]
235
     */
236
    public function update($id, $data)
237
    {
238
        $item = $this->model->findOrFail($id);
239
        $updated = $item->update($this->compactFakeFields($data));
240
241
        if ($updated) $this->syncPivot($item, $data);
242
243
        return $item;
244
    }
245
246
247
    /**

src/ToneCrud.php 1 location

@@ 253-260 (lines=8) @@
250
        return $model;
251
    }
252
253
    public function update($id, $data)
254
    {
255
        $model = $this->model->findOrFail($id);
256
        $updated = $model->update($data);
257
        if ($updated) $this->syncPivot($model, $data);
258
259
        return $model;
260
    }
261
262
    public function delete($id) // DONE
263
    {