@@ -87,6 +87,7 @@ |
||
87 | 87 | |
88 | 88 | /** |
89 | 89 | * {@inheritdoc} |
90 | + * @param \Symfony\Component\Form\Form $form |
|
90 | 91 | */ |
91 | 92 | public function enter($form) |
92 | 93 | { |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | * Counts the elements of the database that match a specific query |
264 | 264 | * |
265 | 265 | * @param string $additional_query The MySQL query string (e.g. `WHERE id = ?`) |
266 | - * @param array $params The parameter values that will be passed to Database::query() |
|
266 | + * @param integer $params The parameter values that will be passed to Database::query() |
|
267 | 267 | * @param string $table The database table that will be searched, defaults to the model's table |
268 | 268 | * @param string $column Only count the entries where `$column` is not `NULL` (or all if `$column` is `*`) |
269 | 269 | * @return int |
@@ -329,7 +329,7 @@ discard block |
||
329 | 329 | * @param string $column The name of the column that should be tested |
330 | 330 | * @param array|mixed $possible_values List of acceptable values |
331 | 331 | * @param bool $negate Whether to search if the value of $column does NOT belong to the $possible_values array |
332 | - * @param string|string[] $select The name of the column(s) that the returned array should contain |
|
332 | + * @param string $select The name of the column(s) that the returned array should contain |
|
333 | 333 | * @param string $additional_query Additional parameters to be passed to the MySQL query (e.g. `WHERE id = 5`) |
334 | 334 | * @param string $table The database table which will be used for queries |
335 | 335 | * |
@@ -400,7 +400,7 @@ discard block |
||
400 | 400 | * @deprecated 0.10.2 This function has been removed and is no longer required with the new query builder |
401 | 401 | * |
402 | 402 | * @param string|null $prefix The table name or SQL alias to be prepend to these columns |
403 | - * @param array $columns The columns to format |
|
403 | + * @param string[] $columns The columns to format |
|
404 | 404 | * |
405 | 405 | * @return string |
406 | 406 | */ |
@@ -460,7 +460,7 @@ discard block |
||
460 | 460 | * |
461 | 461 | * @since 0.11.0 |
462 | 462 | * |
463 | - * @return array |
|
463 | + * @return string[] |
|
464 | 464 | */ |
465 | 465 | public static function getEagerColumnsList() |
466 | 466 | { |
@@ -90,6 +90,7 @@ discard block |
||
90 | 90 | |
91 | 91 | /** |
92 | 92 | * {@inheritdoc} |
93 | + * @param integer $limit |
|
93 | 94 | */ |
94 | 95 | public function limit($limit): IQueryBuilderHandler |
95 | 96 | { |
@@ -197,7 +198,7 @@ discard block |
||
197 | 198 | /** |
198 | 199 | * Find the first matching model in the database or return an invalid model. |
199 | 200 | * |
200 | - * @param mixed $value The value to search for |
|
201 | + * @param string $value The value to search for |
|
201 | 202 | * @param string $columnName The column name we'll be checking |
202 | 203 | * |
203 | 204 | * @throws \Pecee\Pixie\Exception |