From 5a0ac8636c7d4aef16f6514dc56e6dd269f5ae1e Mon Sep 17 00:00:00 2001 From: Tigrov Date: Sun, 7 Apr 2024 23:30:14 +0700 Subject: [PATCH] Improve phpdoc [skip ci] --- src/Query/QueryPartsInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Query/QueryPartsInterface.php b/src/Query/QueryPartsInterface.php index 03efb7889..9ab460430 100644 --- a/src/Query/QueryPartsInterface.php +++ b/src/Query/QueryPartsInterface.php @@ -65,7 +65,7 @@ public function addOrderBy(array|string|ExpressionInterface $columns): static; * $query->addSelect(["*", "CONCAT(first_name, ' ', last_name) AS full_name"])->one(); * ``` * - * @param array|bool|ExpressionInterface|float|int|string $columns The columns to add to the select. + * @param array|ExpressionInterface|scalar $columns The columns to add to the select. * * @see select() for more details about the format of this parameter. * @@ -519,7 +519,7 @@ public function rightJoin(array|string $table, array|string $on = '', array $par /** * Sets the `SELECT` part of the query. * - * @param array|bool|ExpressionInterface|float|int|string $columns The columns to be selected. + * @param array|ExpressionInterface|scalar $columns The columns to be selected. * Columns can be specified in either a string (for example `id, name`) or an array (such as `['id', 'name']`). * Columns can be prefixed with table names (such as `user.id`) and/or contain column aliases * (for example `user.id AS user_id`).