Skip to content

Commit d6f0dae

Browse files
authored
fixed limit variable ordering in the comments (#659)
1 parent 2a0ffc2 commit d6f0dae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

MysqliDb.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ public function rawQueryValue($query, $bindParams = null)
582582
* A method to perform select query
583583
*
584584
* @param string $query Contains a user-provided select query.
585-
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset)
585+
* @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
586586
*
587587
* @return array Contains the returned rows from the query.
588588
*/
@@ -654,7 +654,7 @@ public function withTotalCount()
654654
* A convenient SELECT * function.
655655
*
656656
* @param string $tableName The name of the database table to work with.
657-
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset)
657+
* @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
658658
* or only $count
659659
* @param string $columns Desired columns
660660
*
@@ -858,7 +858,7 @@ public function update($tableName, $tableData, $numRows = null)
858858
* Delete query. Call the "where" method first.
859859
*
860860
* @param string $tableName The name of the database table to work with.
861-
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset)
861+
* @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
862862
* or only $count
863863
*
864864
* @return bool Indicates success. 0 or 1.
@@ -1474,7 +1474,7 @@ private function _buildInsert($tableName, $insertData, $operation)
14741474
* any passed update data, and the desired rows.
14751475
* It then builds the SQL query.
14761476
*
1477-
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset)
1477+
* @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
14781478
* or only $count
14791479
* @param array $tableData Should contain an array of data for updating the database.
14801480
*
@@ -1868,7 +1868,7 @@ protected function _buildOrderBy()
18681868
/**
18691869
* Abstraction method that will build the LIMIT part of the WHERE statement
18701870
*
1871-
* @param int|array $numRows Array to define SQL limit in format Array ($count, $offset)
1871+
* @param int|array $numRows Array to define SQL limit in format Array ($offset, $count)
18721872
* or only $count
18731873
*
18741874
* @return void

0 commit comments

Comments
 (0)