Commit d6f0dae9 authored by Alexander Butenko's avatar Alexander Butenko Committed by GitHub

fixed limit variable ordering in the comments (#659)

parent 2a0ffc22
...@@ -582,7 +582,7 @@ class MysqliDb ...@@ -582,7 +582,7 @@ class MysqliDb
* A method to perform select query * A method to perform select query
* *
* @param string $query Contains a user-provided select query. * @param string $query Contains a user-provided select query.
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset) * @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
* *
* @return array Contains the returned rows from the query. * @return array Contains the returned rows from the query.
*/ */
...@@ -654,7 +654,7 @@ class MysqliDb ...@@ -654,7 +654,7 @@ class MysqliDb
* A convenient SELECT * function. * A convenient SELECT * function.
* *
* @param string $tableName The name of the database table to work with. * @param string $tableName The name of the database table to work with.
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset) * @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
* or only $count * or only $count
* @param string $columns Desired columns * @param string $columns Desired columns
* *
...@@ -858,7 +858,7 @@ class MysqliDb ...@@ -858,7 +858,7 @@ class MysqliDb
* Delete query. Call the "where" method first. * Delete query. Call the "where" method first.
* *
* @param string $tableName The name of the database table to work with. * @param string $tableName The name of the database table to work with.
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset) * @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
* or only $count * or only $count
* *
* @return bool Indicates success. 0 or 1. * @return bool Indicates success. 0 or 1.
...@@ -1474,7 +1474,7 @@ class MysqliDb ...@@ -1474,7 +1474,7 @@ class MysqliDb
* any passed update data, and the desired rows. * any passed update data, and the desired rows.
* It then builds the SQL query. * It then builds the SQL query.
* *
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset) * @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
* or only $count * or only $count
* @param array $tableData Should contain an array of data for updating the database. * @param array $tableData Should contain an array of data for updating the database.
* *
...@@ -1868,7 +1868,7 @@ class MysqliDb ...@@ -1868,7 +1868,7 @@ class MysqliDb
/** /**
* Abstraction method that will build the LIMIT part of the WHERE statement * Abstraction method that will build the LIMIT part of the WHERE statement
* *
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset) * @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
* or only $count * or only $count
* *
* @return void * @return void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment