We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -83,7 +83,7 @@ |
||
83 | 83 | $field = $this->crud->fields()[request()->get('field')]; |
84 | 84 | $relatedModelInstance = new $field['model'](); |
85 | 85 | if ($field) { |
86 | - if (! isset($field['options'])) { |
|
86 | + if (!isset($field['options'])) { |
|
87 | 87 | $options = $field['model']::all()->pluck($field['attribute'], $relatedModelInstance->getKeyName()); |
88 | 88 | } else { |
89 | 89 | $options = call_user_func($field['options'], $field['model']::query()->pluck($field['attribute'], $relatedModelInstance->getKeyName())); |
@@ -58,6 +58,9 @@ |
||
58 | 58 | $this->crud->applyConfigurationFromSettings('create'); |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param string $action |
|
63 | + */ |
|
61 | 64 | public function getInstantModal($entity, $action, $fields) |
62 | 65 | { |
63 | 66 | return view( |
@@ -155,7 +155,7 @@ |
||
155 | 155 | * Based on relation type returns if relation allows multiple entities. |
156 | 156 | * |
157 | 157 | * @param string $relationType |
158 | - * @return bool |
|
158 | + * @return boolean|null |
|
159 | 159 | */ |
160 | 160 | public function relationAllowsMultiple($relationType) |
161 | 161 | { |