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) |
@@ -89,7 +89,7 @@ |
||
89 | 89 | /** |
90 | 90 | * Infer a field type, judging from the database column type. |
91 | 91 | * |
92 | - * @param string $field Field name. |
|
92 | + * @param string $fieldName Field name. |
|
93 | 93 | * |
94 | 94 | * @return string Field type. |
95 | 95 | */ |
@@ -67,7 +67,7 @@ |
||
67 | 67 | /** |
68 | 68 | * Gets the relation data from the method in the model. |
69 | 69 | * |
70 | - * @param ReflectionMethod $method |
|
70 | + * @param \ReflectionMethod $method |
|
71 | 71 | * @return array |
72 | 72 | */ |
73 | 73 | public function inferFieldAttributesFromRelationship($method) |