1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-05 21:58:10 +02:00

Merge pull request #114 from JanTvrdik/master_array_typo

typo (array of foo -> foo[]) – master
This commit is contained in:
David Grudl
2013-11-05 12:10:20 -08:00
4 changed files with 11 additions and 11 deletions

View File

@@ -268,7 +268,7 @@ class dibi
/** /**
* Executes SQL query and fetch results - Monostate for DibiConnection::query() & fetchAll(). * Executes SQL query and fetch results - Monostate for DibiConnection::query() & fetchAll().
* @param array|mixed one or more arguments * @param array|mixed one or more arguments
* @return array of DibiRow * @return DibiRow[]
* @throws DibiException * @throws DibiException
*/ */
public static function fetchAll($args) public static function fetchAll($args)

View File

@@ -590,7 +590,7 @@ class DibiConnection extends DibiObject
/** /**
* Executes SQL query and fetch results - shortcut for query() & fetchAll(). * Executes SQL query and fetch results - shortcut for query() & fetchAll().
* @param array|mixed one or more arguments * @param array|mixed one or more arguments
* @return array of DibiRow * @return DibiRow[]
* @throws DibiException * @throws DibiException
*/ */
public function fetchAll($args) public function fetchAll($args)

View File

@@ -49,7 +49,7 @@ class DibiDatabaseInfo extends DibiObject
/** /**
* @return array of DibiTableInfo * @return DibiTableInfo[]
*/ */
public function getTables() public function getTables()
{ {
@@ -59,7 +59,7 @@ class DibiDatabaseInfo extends DibiObject
/** /**
* @return array of string * @return string[]
*/ */
public function getTableNames() public function getTableNames()
{ {
@@ -181,7 +181,7 @@ class DibiTableInfo extends DibiObject
/** /**
* @return array of DibiColumnInfo * @return DibiColumnInfo[]
*/ */
public function getColumns() public function getColumns()
{ {
@@ -191,7 +191,7 @@ class DibiTableInfo extends DibiObject
/** /**
* @return array of string * @return string[]
*/ */
public function getColumnNames() public function getColumnNames()
{ {
@@ -233,7 +233,7 @@ class DibiTableInfo extends DibiObject
/** /**
* @return array of DibiForeignKeyInfo * @return DibiForeignKeyInfo[]
*/ */
public function getForeignKeys() public function getForeignKeys()
{ {
@@ -243,7 +243,7 @@ class DibiTableInfo extends DibiObject
/** /**
* @return array of DibiIndexInfo * @return DibiIndexInfo[]
*/ */
public function getIndexes() public function getIndexes()
{ {
@@ -336,7 +336,7 @@ class DibiResultInfo extends DibiObject
/** /**
* @return array of DibiColumnInfo * @return DibiColumnInfo[]
*/ */
public function getColumns() public function getColumns()
{ {
@@ -347,7 +347,7 @@ class DibiResultInfo extends DibiObject
/** /**
* @param bool * @param bool
* @return array of string * @return string[]
*/ */
public function getColumnNames($fullNames = FALSE) public function getColumnNames($fullNames = FALSE)
{ {

View File

@@ -245,7 +245,7 @@ class DibiResult extends DibiObject implements IDataSource
* Fetches all records from table. * Fetches all records from table.
* @param int offset * @param int offset
* @param int limit * @param int limit
* @return array of DibiRow * @return DibiRow[]
*/ */
final public function fetchAll($offset = NULL, $limit = NULL) final public function fetchAll($offset = NULL, $limit = NULL)
{ {