From a0aacc76c4bb46820e8802d2feee7bb8fe7c2f32 Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 1 Jan 2021 11:22:44 +0900 Subject: [PATCH 1/2] docs: fix style --- system/Database/BaseBuilder.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/system/Database/BaseBuilder.php b/system/Database/BaseBuilder.php index a6f983a8065e..e3c5392e19e9 100644 --- a/system/Database/BaseBuilder.php +++ b/system/Database/BaseBuilder.php @@ -1319,11 +1319,11 @@ protected function _like($field, string $match = '', string $type = 'AND ', stri /** * Platform independent LIKE statement builder. * - * @param string|null $prefix - * @param string $column - * @param string|null $not - * @param string $bind - * @param boolean $insensitiveSearch + * @param string|null $prefix + * @param string $column + * @param string|null $not + * @param string $bind + * @param boolean $insensitiveSearch * * @return string $like_statement */ From 2627a564f91c8949d3bddec4e3ab805a6611d521 Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 1 Jan 2021 11:23:02 +0900 Subject: [PATCH 2/2] docs: fix countAll() explanation --- system/Database/BaseBuilder.php | 2 +- user_guide_src/source/database/query_builder.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system/Database/BaseBuilder.php b/system/Database/BaseBuilder.php index e3c5392e19e9..f167afee9be5 100644 --- a/system/Database/BaseBuilder.php +++ b/system/Database/BaseBuilder.php @@ -1882,7 +1882,7 @@ public function get(int $limit = null, int $offset = 0, bool $reset = true) * "Count All" query * * Generates a platform-specific query string that counts all records in - * the specified database + * the particular table * * @param boolean $reset Are we want to clear query builder values? * diff --git a/user_guide_src/source/database/query_builder.rst b/user_guide_src/source/database/query_builder.rst index 56071313b0da..4d9ae3100d32 100755 --- a/user_guide_src/source/database/query_builder.rst +++ b/user_guide_src/source/database/query_builder.rst @@ -1266,7 +1266,7 @@ Class Reference :rtype: int Generates a platform-specific query string that counts - all records returned by an Query Builder query. + all records in the particular table. .. php:method:: get([$limit = null[, $offset = null[, $reset = true]]]])