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/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
    {

src/Crud.php 1 location

@@ 273-281 (lines=9) @@
270
     * @param  [Request] All inputs to be updated.
271
     * @return [Eloquent Collection]
272
     */
273
    public function update($id, $data)
274
    {
275
        $item = $this->model->findOrFail($id);
276
        $updated = $item->update($this->compactFakeFields($data));
277
       
278
        /*if ($updated) */$this->syncPivot($item, $data, 'update');
279
280
        return $item;
281
    }
282
283
284
    /**