mirror of
https://github.com/dg/dibi.git
synced 2025-08-04 21:28:02 +02:00
Merge pull request #114 from JanTvrdik/master_array_typo
typo (array of foo -> foo[]) – master
This commit is contained in:
@@ -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)
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user