Skip to content

Commit

Permalink
Correct phpdoc for getCol() method
Browse files Browse the repository at this point in the history
getCol() can't return FALSE. It returns empty array for empty SQL-query result
  • Loading branch information
00dev committed Jan 9, 2019
1 parent e1cbace commit 714c447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safemysql.class.php
Expand Up @@ -247,7 +247,7 @@ public function getRow()
*
* @param string $query - an SQL query with placeholders
* @param mixed $arg,... unlimited number of arguments to match placeholders in the query
* @return array|FALSE either enumerated array of first fields of all rows of resultset or FALSE if none found
* @return array enumerated array of first fields of all rows of resultset or empty array if none found
*/
public function getCol()
{
Expand Down

0 comments on commit 714c447

Please sign in to comment.