From 714c447fbaab5b93bda4fab7f4ab0daee79189f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B3=D0=BE=D1=80=D1=8C=20=D0=A4=D1=80=D0=BE=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2?= <15100894+00dev@users.noreply.github.com> Date: Wed, 9 Jan 2019 13:34:44 +0300 Subject: [PATCH] Correct phpdoc for getCol() method getCol() can't return FALSE. It returns empty array for empty SQL-query result --- safemysql.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safemysql.class.php b/safemysql.class.php index 85e759b..4296d65 100644 --- a/safemysql.class.php +++ b/safemysql.class.php @@ -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() {