Skip to content

Commit 1a7a9c1

Browse files
committed
Fix description of a getValue () method
1 parent fc46ca6 commit 1a7a9c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MysqliDb.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,11 +368,11 @@ public function getOne($tableName, $columns = '*')
368368
}
369369

370370
/**
371-
* A convenient SELECT * function to get one value.
371+
* A convenient SELECT COLUMN function to get a single column value from one row
372372
*
373373
* @param string $tableName The name of the database table to work with.
374374
*
375-
* @return array Contains the returned column from the select query.
375+
* @return string Contains the value of a returned column.
376376
*/
377377
public function getValue($tableName, $column)
378378
{

0 commit comments

Comments
 (0)