@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | * Query the database to get the eager column values for the Model |
238 | 238 | * |
239 | 239 | * @param $id int The ID of the model to fetch |
240 | - * @return array|null The results or null if a model wasn't found |
|
240 | + * @return null|stdClass The results or null if a model wasn't found |
|
241 | 241 | */ |
242 | 242 | protected static function fetchColumnValues($id) |
243 | 243 | { |
@@ -324,7 +324,7 @@ discard block |
||
324 | 324 | * @param string $column The name of the column that should be tested |
325 | 325 | * @param array|mixed $possible_values List of acceptable values |
326 | 326 | * @param bool $negate Whether to search if the value of $column does NOT belong to the $possible_values array |
327 | - * @param string|string[] $select The name of the column(s) that the returned array should contain |
|
327 | + * @param string $select The name of the column(s) that the returned array should contain |
|
328 | 328 | * @param string $additional_query Additional parameters to be passed to the MySQL query (e.g. `WHERE id = 5`) |
329 | 329 | * @param string $table The database table which will be used for queries |
330 | 330 | * |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | * @deprecated 0.10.2 This function has been removed and is no longer required with the new query builder |
396 | 396 | * |
397 | 397 | * @param string|null $prefix The table name or SQL alias to be prepend to these columns |
398 | - * @param array $columns The columns to format |
|
398 | + * @param string[] $columns The columns to format |
|
399 | 399 | * |
400 | 400 | * @return string |
401 | 401 | */ |
@@ -455,7 +455,7 @@ discard block |
||
455 | 455 | * |
456 | 456 | * @since 0.11.0 |
457 | 457 | * |
458 | - * @return array |
|
458 | + * @return string[] |
|
459 | 459 | */ |
460 | 460 | public static function getEagerColumnsList() |
461 | 461 | { |