We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 564-570 (lines=7) @@ | ||
| 561 | return $values->get()->lists($field, $model->getKeyName())->toArray(); |
|
| 562 | } |
|
| 563 | ||
| 564 | private function syncRelations($entity) |
|
| 565 | { |
|
| 566 | foreach ($this->relations as $field => $relation) { |
|
| 567 | if ($relation['pivot']) $this->add($entity, ['name' => $field, 'type' => 'multiselect', 'value' => [], 'values' => $this->relations[$field]['values']]); |
|
| 568 | else $this->sync($entity, $field, ['type' => 'select', 'values' => $this->relations[$field]['values']]); |
|
| 569 | } |
|
| 570 | } |
|
| 571 | ||
| 572 | private function makeLabel($value) // DONE |
|
| 573 | { |
|
| @@ 1350-1356 (lines=7) @@ | ||
| 1347 | } |
|
| 1348 | ||
| 1349 | // face un fel de merge intre ce ii dai si ce e in CRUD |
|
| 1350 | public function syncRelations($entity) |
|
| 1351 | { |
|
| 1352 | foreach ($this->relations as $field => $relation) { |
|
| 1353 | if ($relation['pivot']) $this->add($entity, ['name' => $field, 'type' => 'multiselect', 'value' => [], 'values' => $this->relations[$field]['values']]); |
|
| 1354 | else $this->sync($entity, $field, ['type' => 'select', 'values' => $this->relations[$field]['values']]); |
|
| 1355 | } |
|
| 1356 | } |
|
| 1357 | ||
| 1358 | ||
| 1359 | ||