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

src/Crud.php 1 location

@@ 1291-1301 (lines=11) @@
1288
1289
1290
    // cred ca ia valorile din tabela de legatura ca sa ti le afiseze in select
1291
    public function getRelationValues($model, $field, $where = [], $order = [])
1292
    {
1293
        $order = (array)$order;
1294
        $values = $model->select('*');
1295
1296
        if (!empty($where)) call_user_func_array([$values, $where[0]], array_slice($where, 1));
1297
1298
        if (!empty($order)) call_user_func_array([$values, 'orderBy'], $order);
1299
1300
        return $values->get()->lists($field, $model->getKeyName())->toArray();
1301
    }
1302
1303
    // face un fel de merge intre ce ii dai si ce e in CRUD
1304
    public function syncRelations($entity)

src/ToneCrud.php 1 location

@@ 552-562 (lines=11) @@
549
        }
550
    }
551
552
    private function getRelationValues($model, $field, $where = [], $order = [])
553
    {
554
        $order = (array)$order;
555
        $values = $model->select('*');
556
557
        if (!empty($where)) call_user_func_array([$values, $where[0]], array_slice($where, 1));
558
559
        if (!empty($order)) call_user_func_array([$values, 'orderBy'], $order);
560
561
        return $values->get()->lists($field, $model->getKeyName())->toArray();
562
    }
563
564
    private function syncRelations($entity)
565
    {