We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -326,8 +326,6 @@ discard block |
||
326 | 326 | * Check if the create/update form has upload fields. |
327 | 327 | * Upload fields are the ones that have "upload" => true defined on them. |
328 | 328 | * |
329 | - * @param string $form create/update/both - defaults to 'both' |
|
330 | - * @param bool|int $id id of the entity - defaults to false |
|
331 | 329 | * |
332 | 330 | * @return bool |
333 | 331 | */ |
@@ -358,7 +356,7 @@ discard block |
||
358 | 356 | /** |
359 | 357 | * Set an array of field type names as already loaded for the current operation. |
360 | 358 | * |
361 | - * @param array $fieldTypes |
|
359 | + * @param string[] $fieldTypes |
|
362 | 360 | */ |
363 | 361 | public function setLoadedFieldTypes($fieldTypes) |
364 | 362 | { |
@@ -369,7 +367,7 @@ discard block |
||
369 | 367 | * Get a namespaced version of the field type name. |
370 | 368 | * Appends the 'view_namespace' attribute of the field to the `type', using dot notation. |
371 | 369 | * |
372 | - * @param mixed $field |
|
370 | + * @param string $field |
|
373 | 371 | * @return string Namespaced version of the field type name. Ex: 'text', 'custom.view.path.text' |
374 | 372 | */ |
375 | 373 | public function getFieldTypeWithNamespace($field) |
@@ -58,6 +58,9 @@ |
||
58 | 58 | $this->crud->applyConfigurationFromSettings('create'); |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param string $action |
|
63 | + */ |
|
61 | 64 | public function getModalContent($entity, $action, $fields) |
62 | 65 | { |
63 | 66 | return view( |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | /** |
88 | 88 | * Gets the relation data from the method in the model. |
89 | 89 | * |
90 | - * @param ReflectionMethod $method |
|
90 | + * @param \ReflectionMethod $method |
|
91 | 91 | * @return array |
92 | 92 | */ |
93 | 93 | public function getRelationData($method) |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * Based on relation type returns if relation allows multiple entities. |
119 | 119 | * |
120 | 120 | * @param string $relationType |
121 | - * @return bool |
|
121 | + * @return boolean|null |
|
122 | 122 | */ |
123 | 123 | public function relationAllowsMultiple($relationType) |
124 | 124 | { |