From 530e7d30c97e882e3c23df48919a512c0532cb4c Mon Sep 17 00:00:00 2001 From: Jan Tvrdik Date: Thu, 24 Oct 2013 21:15:48 +0200 Subject: [PATCH] typo --- dibi/dibi.php | 2 +- dibi/libs/DibiConnection.php | 2 +- dibi/libs/DibiDatabaseInfo.php | 16 ++++++++-------- dibi/libs/DibiResult.php | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dibi/dibi.php b/dibi/dibi.php index 8962eea4..10aff9c7 100644 --- a/dibi/dibi.php +++ b/dibi/dibi.php @@ -268,7 +268,7 @@ class dibi /** * Executes SQL query and fetch results - Monostate for DibiConnection::query() & fetchAll(). * @param array|mixed one or more arguments - * @return array of DibiRow + * @return DibiRow[] * @throws DibiException */ public static function fetchAll($args) diff --git a/dibi/libs/DibiConnection.php b/dibi/libs/DibiConnection.php index e8d78ead..53988896 100644 --- a/dibi/libs/DibiConnection.php +++ b/dibi/libs/DibiConnection.php @@ -590,7 +590,7 @@ class DibiConnection extends DibiObject /** * Executes SQL query and fetch results - shortcut for query() & fetchAll(). * @param array|mixed one or more arguments - * @return array of DibiRow + * @return DibiRow[] * @throws DibiException */ public function fetchAll($args) diff --git a/dibi/libs/DibiDatabaseInfo.php b/dibi/libs/DibiDatabaseInfo.php index 3e0351a1..772de871 100644 --- a/dibi/libs/DibiDatabaseInfo.php +++ b/dibi/libs/DibiDatabaseInfo.php @@ -49,7 +49,7 @@ class DibiDatabaseInfo extends DibiObject /** - * @return array of DibiTableInfo + * @return DibiTableInfo[] */ public function getTables() { @@ -59,7 +59,7 @@ class DibiDatabaseInfo extends DibiObject /** - * @return array of string + * @return string[] */ public function getTableNames() { @@ -181,7 +181,7 @@ class DibiTableInfo extends DibiObject /** - * @return array of DibiColumnInfo + * @return DibiColumnInfo[] */ public function getColumns() { @@ -191,7 +191,7 @@ class DibiTableInfo extends DibiObject /** - * @return array of string + * @return string[] */ public function getColumnNames() { @@ -233,7 +233,7 @@ class DibiTableInfo extends DibiObject /** - * @return array of DibiForeignKeyInfo + * @return DibiForeignKeyInfo[] */ public function getForeignKeys() { @@ -243,7 +243,7 @@ class DibiTableInfo extends DibiObject /** - * @return array of DibiIndexInfo + * @return DibiIndexInfo[] */ public function getIndexes() { @@ -336,7 +336,7 @@ class DibiResultInfo extends DibiObject /** - * @return array of DibiColumnInfo + * @return DibiColumnInfo[] */ public function getColumns() { @@ -347,7 +347,7 @@ class DibiResultInfo extends DibiObject /** * @param bool - * @return array of string + * @return string[] */ public function getColumnNames($fullNames = FALSE) { diff --git a/dibi/libs/DibiResult.php b/dibi/libs/DibiResult.php index 8683f009..3e4ee362 100644 --- a/dibi/libs/DibiResult.php +++ b/dibi/libs/DibiResult.php @@ -245,7 +245,7 @@ class DibiResult extends DibiObject implements IDataSource * Fetches all records from table. * @param int offset * @param int limit - * @return array of DibiRow + * @return DibiRow[] */ final public function fetchAll($offset = NULL, $limit = NULL) {