Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
1969bdb9
Commit
1969bdb9
authored
Dec 29, 2011
by
Guilherme Blanco
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #87 from soulii/FQCN_PHPDoc
Added a leading backslash to FQCN in @return and @param PHPDoc
parents
6c3b6d03
a84785ba
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
49 additions
and
49 deletions
+49
-49
Connection.php
lib/Doctrine/DBAL/Connection.php
+5
-5
Driver.php
lib/Doctrine/DBAL/Driver.php
+5
-5
DB2Driver.php
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Driver.php
+5
-5
Driver.php
lib/Doctrine/DBAL/Driver/PDOIbm/Driver.php
+5
-5
Driver.php
lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php
+1
-1
Driver.php
lib/Doctrine/DBAL/Driver/PDOPgSql/Driver.php
+1
-1
Driver.php
lib/Doctrine/DBAL/Driver/PDOSqlite/Driver.php
+2
-2
DriverManager.php
lib/Doctrine/DBAL/DriverManager.php
+3
-3
ConnectionEventArgs.php
lib/Doctrine/DBAL/Event/ConnectionEventArgs.php
+4
-4
SchemaCreateTableEventArgs.php
lib/Doctrine/DBAL/Event/SchemaCreateTableEventArgs.php
+1
-1
Connection.php
lib/Doctrine/DBAL/Portability/Connection.php
+1
-1
Statement.php
lib/Doctrine/DBAL/Portability/Statement.php
+2
-2
ExpressionBuilder.php
lib/Doctrine/DBAL/Query/Expression/ExpressionBuilder.php
+1
-1
QueryBuilder.php
lib/Doctrine/DBAL/Query/QueryBuilder.php
+6
-6
Column.php
lib/Doctrine/DBAL/Schema/Column.php
+1
-1
Schema.php
lib/Doctrine/DBAL/Schema/Schema.php
+2
-2
Statement.php
lib/Doctrine/DBAL/Statement.php
+2
-2
Type.php
lib/Doctrine/DBAL/Types/Type.php
+1
-1
TestUtil.php
tests/Doctrine/Tests/TestUtil.php
+1
-1
No files found.
lib/Doctrine/DBAL/Connection.php
View file @
1969bdb9
...
@@ -584,7 +584,7 @@ class Connection implements DriverConnection
...
@@ -584,7 +584,7 @@ class Connection implements DriverConnection
* Prepares an SQL statement.
* Prepares an SQL statement.
*
*
* @param string $statement The SQL statement to prepare.
* @param string $statement The SQL statement to prepare.
* @return Doctrine\DBAL\Driver\Statement The prepared statement.
* @return
\
Doctrine\DBAL\Driver\Statement The prepared statement.
*/
*/
public
function
prepare
(
$statement
)
public
function
prepare
(
$statement
)
{
{
...
@@ -603,7 +603,7 @@ class Connection implements DriverConnection
...
@@ -603,7 +603,7 @@ class Connection implements DriverConnection
* @param array $params The parameters to bind to the query, if any.
* @param array $params The parameters to bind to the query, if any.
* @param array $types The types the previous parameters are in.
* @param array $types The types the previous parameters are in.
* @param QueryCacheProfile $qcp
* @param QueryCacheProfile $qcp
* @return Doctrine\DBAL\Driver\Statement The executed statement.
* @return
\
Doctrine\DBAL\Driver\Statement The executed statement.
* @internal PERF: Directly prepares a driver statement, not a wrapper.
* @internal PERF: Directly prepares a driver statement, not a wrapper.
*/
*/
public
function
executeQuery
(
$query
,
array
$params
=
array
(),
$types
=
array
(),
QueryCacheProfile
$qcp
=
null
)
public
function
executeQuery
(
$query
,
array
$params
=
array
(),
$types
=
array
(),
QueryCacheProfile
$qcp
=
null
)
...
@@ -700,7 +700,7 @@ class Connection implements DriverConnection
...
@@ -700,7 +700,7 @@ class Connection implements DriverConnection
*
*
* @param string $statement
* @param string $statement
* @param integer $fetchType
* @param integer $fetchType
* @return Doctrine\DBAL\Driver\Statement
* @return
\
Doctrine\DBAL\Driver\Statement
*/
*/
public
function
query
()
public
function
query
()
{
{
...
@@ -1015,7 +1015,7 @@ class Connection implements DriverConnection
...
@@ -1015,7 +1015,7 @@ class Connection implements DriverConnection
/**
/**
* Gets the wrapped driver connection.
* Gets the wrapped driver connection.
*
*
* @return Doctrine\DBAL\Driver\Connection
* @return
\
Doctrine\DBAL\Driver\Connection
*/
*/
public
function
getWrappedConnection
()
public
function
getWrappedConnection
()
{
{
...
@@ -1028,7 +1028,7 @@ class Connection implements DriverConnection
...
@@ -1028,7 +1028,7 @@ class Connection implements DriverConnection
* Gets the SchemaManager that can be used to inspect or change the
* Gets the SchemaManager that can be used to inspect or change the
* database schema through the connection.
* database schema through the connection.
*
*
* @return Doctrine\DBAL\Schema\AbstractSchemaManager
* @return
\
Doctrine\DBAL\Schema\AbstractSchemaManager
*/
*/
public
function
getSchemaManager
()
public
function
getSchemaManager
()
{
{
...
...
lib/Doctrine/DBAL/Driver.php
View file @
1969bdb9
...
@@ -34,7 +34,7 @@ interface Driver
...
@@ -34,7 +34,7 @@ interface Driver
* @param string $username The username to use when connecting.
* @param string $username The username to use when connecting.
* @param string $password The password to use when connecting.
* @param string $password The password to use when connecting.
* @param array $driverOptions The driver options to use when connecting.
* @param array $driverOptions The driver options to use when connecting.
* @return Doctrine\DBAL\Driver\Connection The database connection.
* @return
\
Doctrine\DBAL\Driver\Connection The database connection.
*/
*/
public
function
connect
(
array
$params
,
$username
=
null
,
$password
=
null
,
array
$driverOptions
=
array
());
public
function
connect
(
array
$params
,
$username
=
null
,
$password
=
null
,
array
$driverOptions
=
array
());
...
@@ -42,7 +42,7 @@ interface Driver
...
@@ -42,7 +42,7 @@ interface Driver
* Gets the DatabasePlatform instance that provides all the metadata about
* Gets the DatabasePlatform instance that provides all the metadata about
* the platform this driver connects to.
* the platform this driver connects to.
*
*
* @return Doctrine\DBAL\Platforms\AbstractPlatform The database platform.
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform The database platform.
*/
*/
public
function
getDatabasePlatform
();
public
function
getDatabasePlatform
();
...
@@ -50,8 +50,8 @@ interface Driver
...
@@ -50,8 +50,8 @@ interface Driver
* Gets the SchemaManager that can be used to inspect and change the underlying
* Gets the SchemaManager that can be used to inspect and change the underlying
* database schema of the platform this driver connects to.
* database schema of the platform this driver connects to.
*
*
* @param Doctrine\DBAL\Connection $conn
* @param
\
Doctrine\DBAL\Connection $conn
* @return Doctrine\DBAL\SchemaManager
* @return
\
Doctrine\DBAL\SchemaManager
*/
*/
public
function
getSchemaManager
(
Connection
$conn
);
public
function
getSchemaManager
(
Connection
$conn
);
...
@@ -65,7 +65,7 @@ interface Driver
...
@@ -65,7 +65,7 @@ interface Driver
/**
/**
* Get the name of the database connected to for this driver.
* Get the name of the database connected to for this driver.
*
*
* @param Doctrine\DBAL\Connection $conn
* @param
\
Doctrine\DBAL\Connection $conn
* @return string $database
* @return string $database
*/
*/
public
function
getDatabase
(
Connection
$conn
);
public
function
getDatabase
(
Connection
$conn
);
...
...
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Driver.php
View file @
1969bdb9
...
@@ -37,7 +37,7 @@ class DB2Driver implements Driver
...
@@ -37,7 +37,7 @@ class DB2Driver implements Driver
* @param string $username The username to use when connecting.
* @param string $username The username to use when connecting.
* @param string $password The password to use when connecting.
* @param string $password The password to use when connecting.
* @param array $driverOptions The driver options to use when connecting.
* @param array $driverOptions The driver options to use when connecting.
* @return Doctrine\DBAL\Driver\Connection The database connection.
* @return
\
Doctrine\DBAL\Driver\Connection The database connection.
*/
*/
public
function
connect
(
array
$params
,
$username
=
null
,
$password
=
null
,
array
$driverOptions
=
array
())
public
function
connect
(
array
$params
,
$username
=
null
,
$password
=
null
,
array
$driverOptions
=
array
())
{
{
...
@@ -65,7 +65,7 @@ class DB2Driver implements Driver
...
@@ -65,7 +65,7 @@ class DB2Driver implements Driver
* Gets the DatabasePlatform instance that provides all the metadata about
* Gets the DatabasePlatform instance that provides all the metadata about
* the platform this driver connects to.
* the platform this driver connects to.
*
*
* @return Doctrine\DBAL\Platforms\AbstractPlatform The database platform.
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform The database platform.
*/
*/
public
function
getDatabasePlatform
()
public
function
getDatabasePlatform
()
{
{
...
@@ -76,8 +76,8 @@ class DB2Driver implements Driver
...
@@ -76,8 +76,8 @@ class DB2Driver implements Driver
* Gets the SchemaManager that can be used to inspect and change the underlying
* Gets the SchemaManager that can be used to inspect and change the underlying
* database schema of the platform this driver connects to.
* database schema of the platform this driver connects to.
*
*
* @param Doctrine\DBAL\Connection $conn
* @param
\
Doctrine\DBAL\Connection $conn
* @return Doctrine\DBAL\SchemaManager
* @return
\
Doctrine\DBAL\SchemaManager
*/
*/
public
function
getSchemaManager
(
Connection
$conn
)
public
function
getSchemaManager
(
Connection
$conn
)
{
{
...
@@ -97,7 +97,7 @@ class DB2Driver implements Driver
...
@@ -97,7 +97,7 @@ class DB2Driver implements Driver
/**
/**
* Get the name of the database connected to for this driver.
* Get the name of the database connected to for this driver.
*
*
* @param Doctrine\DBAL\Connection $conn
* @param
\
Doctrine\DBAL\Connection $conn
* @return string $database
* @return string $database
*/
*/
public
function
getDatabase
(
\Doctrine\DBAL\Connection
$conn
)
public
function
getDatabase
(
\Doctrine\DBAL\Connection
$conn
)
...
...
lib/Doctrine/DBAL/Driver/PDOIbm/Driver.php
View file @
1969bdb9
...
@@ -44,7 +44,7 @@ class Driver implements \Doctrine\DBAL\Driver
...
@@ -44,7 +44,7 @@ class Driver implements \Doctrine\DBAL\Driver
* @param string $username
* @param string $username
* @param string $password
* @param string $password
* @param array $driverOptions
* @param array $driverOptions
* @return Doctrine\DBAL\Driver\Connection
* @return
\
Doctrine\DBAL\Driver\Connection
*/
*/
public
function
connect
(
array
$params
,
$username
=
null
,
$password
=
null
,
array
$driverOptions
=
array
())
public
function
connect
(
array
$params
,
$username
=
null
,
$password
=
null
,
array
$driverOptions
=
array
())
{
{
...
@@ -83,7 +83,7 @@ class Driver implements \Doctrine\DBAL\Driver
...
@@ -83,7 +83,7 @@ class Driver implements \Doctrine\DBAL\Driver
* Gets the DatabasePlatform instance that provides all the metadata about
* Gets the DatabasePlatform instance that provides all the metadata about
* the platform this driver connects to.
* the platform this driver connects to.
*
*
* @return Doctrine\DBAL\Platforms\AbstractPlatform The database platform.
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform The database platform.
*/
*/
public
function
getDatabasePlatform
()
public
function
getDatabasePlatform
()
{
{
...
@@ -94,8 +94,8 @@ class Driver implements \Doctrine\DBAL\Driver
...
@@ -94,8 +94,8 @@ class Driver implements \Doctrine\DBAL\Driver
* Gets the SchemaManager that can be used to inspect and change the underlying
* Gets the SchemaManager that can be used to inspect and change the underlying
* database schema of the platform this driver connects to.
* database schema of the platform this driver connects to.
*
*
* @param Doctrine\DBAL\Connection $conn
* @param
\
Doctrine\DBAL\Connection $conn
* @return Doctrine\DBAL\SchemaManager
* @return
\
Doctrine\DBAL\SchemaManager
*/
*/
public
function
getSchemaManager
(
Connection
$conn
)
public
function
getSchemaManager
(
Connection
$conn
)
{
{
...
@@ -115,7 +115,7 @@ class Driver implements \Doctrine\DBAL\Driver
...
@@ -115,7 +115,7 @@ class Driver implements \Doctrine\DBAL\Driver
/**
/**
* Get the name of the database connected to for this driver.
* Get the name of the database connected to for this driver.
*
*
* @param Doctrine\DBAL\Connection $conn
* @param
\
Doctrine\DBAL\Connection $conn
* @return string $database
* @return string $database
*/
*/
public
function
getDatabase
(
\Doctrine\DBAL\Connection
$conn
)
public
function
getDatabase
(
\Doctrine\DBAL\Connection
$conn
)
...
...
lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php
View file @
1969bdb9
...
@@ -35,7 +35,7 @@ class Driver implements \Doctrine\DBAL\Driver
...
@@ -35,7 +35,7 @@ class Driver implements \Doctrine\DBAL\Driver
* @param string $username
* @param string $username
* @param string $password
* @param string $password
* @param array $driverOptions
* @param array $driverOptions
* @return Doctrine\DBAL\Driver\Connection
* @return
\
Doctrine\DBAL\Driver\Connection
*/
*/
public
function
connect
(
array
$params
,
$username
=
null
,
$password
=
null
,
array
$driverOptions
=
array
())
public
function
connect
(
array
$params
,
$username
=
null
,
$password
=
null
,
array
$driverOptions
=
array
())
{
{
...
...
lib/Doctrine/DBAL/Driver/PDOPgSql/Driver.php
View file @
1969bdb9
...
@@ -14,7 +14,7 @@ class Driver implements \Doctrine\DBAL\Driver
...
@@ -14,7 +14,7 @@ class Driver implements \Doctrine\DBAL\Driver
/**
/**
* Attempts to connect to the database and returns a driver connection on success.
* Attempts to connect to the database and returns a driver connection on success.
*
*
* @return Doctrine\DBAL\Driver\Connection
* @return
\
Doctrine\DBAL\Driver\Connection
*/
*/
public
function
connect
(
array
$params
,
$username
=
null
,
$password
=
null
,
array
$driverOptions
=
array
())
public
function
connect
(
array
$params
,
$username
=
null
,
$password
=
null
,
array
$driverOptions
=
array
())
{
{
...
...
lib/Doctrine/DBAL/Driver/PDOSqlite/Driver.php
View file @
1969bdb9
...
@@ -95,8 +95,8 @@ class Driver implements \Doctrine\DBAL\Driver
...
@@ -95,8 +95,8 @@ class Driver implements \Doctrine\DBAL\Driver
/**
/**
* Gets the schema manager that is relevant for this driver.
* Gets the schema manager that is relevant for this driver.
*
*
* @param Doctrine\DBAL\Connection $conn
* @param
\
Doctrine\DBAL\Connection $conn
* @return Doctrine\DBAL\Schema\SqliteSchemaManager
* @return
\
Doctrine\DBAL\Schema\SqliteSchemaManager
*/
*/
public
function
getSchemaManager
(
\Doctrine\DBAL\Connection
$conn
)
public
function
getSchemaManager
(
\Doctrine\DBAL\Connection
$conn
)
{
{
...
...
lib/Doctrine/DBAL/DriverManager.php
View file @
1969bdb9
...
@@ -91,9 +91,9 @@ final class DriverManager
...
@@ -91,9 +91,9 @@ final class DriverManager
* The driver class to use.
* The driver class to use.
*
*
* @param array $params The parameters.
* @param array $params The parameters.
* @param Doctrine\DBAL\Configuration The configuration to use.
* @param
\
Doctrine\DBAL\Configuration The configuration to use.
* @param Doctrine\Common\EventManager The event manager to use.
* @param
\
Doctrine\Common\EventManager The event manager to use.
* @return Doctrine\DBAL\Connection
* @return
\
Doctrine\DBAL\Connection
*/
*/
public
static
function
getConnection
(
public
static
function
getConnection
(
array
$params
,
array
$params
,
...
...
lib/Doctrine/DBAL/Event/ConnectionEventArgs.php
View file @
1969bdb9
...
@@ -46,7 +46,7 @@ class ConnectionEventArgs extends EventArgs
...
@@ -46,7 +46,7 @@ class ConnectionEventArgs extends EventArgs
}
}
/**
/**
* @return Doctrine\DBAL\Connection
* @return
\
Doctrine\DBAL\Connection
*/
*/
public
function
getConnection
()
public
function
getConnection
()
{
{
...
@@ -54,7 +54,7 @@ class ConnectionEventArgs extends EventArgs
...
@@ -54,7 +54,7 @@ class ConnectionEventArgs extends EventArgs
}
}
/**
/**
* @return Doctrine\DBAL\Driver
* @return
\
Doctrine\DBAL\Driver
*/
*/
public
function
getDriver
()
public
function
getDriver
()
{
{
...
@@ -62,7 +62,7 @@ class ConnectionEventArgs extends EventArgs
...
@@ -62,7 +62,7 @@ class ConnectionEventArgs extends EventArgs
}
}
/**
/**
* @return Doctrine\DBAL\Platforms\AbstractPlatform
* @return
\
Doctrine\DBAL\Platforms\AbstractPlatform
*/
*/
public
function
getDatabasePlatform
()
public
function
getDatabasePlatform
()
{
{
...
@@ -70,7 +70,7 @@ class ConnectionEventArgs extends EventArgs
...
@@ -70,7 +70,7 @@ class ConnectionEventArgs extends EventArgs
}
}
/**
/**
* @return Doctrine\DBAL\Schema\AbstractSchemaManager
* @return
\
Doctrine\DBAL\Schema\AbstractSchemaManager
*/
*/
public
function
getSchemaManager
()
public
function
getSchemaManager
()
{
{
...
...
lib/Doctrine/DBAL/Event/SchemaCreateTableEventArgs.php
View file @
1969bdb9
...
@@ -61,7 +61,7 @@ class SchemaCreateTableEventArgs extends SchemaEventArgs
...
@@ -61,7 +61,7 @@ class SchemaCreateTableEventArgs extends SchemaEventArgs
* @param \Doctrine\DBAL\Schema\Table $table
* @param \Doctrine\DBAL\Schema\Table $table
* @param array $columns
* @param array $columns
* @param array $options
* @param array $options
* @param Doctrine\DBAL\Platforms\AbstractPlatform $platform
* @param
\
Doctrine\DBAL\Platforms\AbstractPlatform $platform
*/
*/
public
function
__construct
(
Table
$table
,
array
$columns
,
array
$options
,
AbstractPlatform
$platform
)
public
function
__construct
(
Table
$table
,
array
$columns
,
array
$options
,
AbstractPlatform
$platform
)
{
{
...
...
lib/Doctrine/DBAL/Portability/Connection.php
View file @
1969bdb9
...
@@ -96,7 +96,7 @@ class Connection extends \Doctrine\DBAL\Connection
...
@@ -96,7 +96,7 @@ class Connection extends \Doctrine\DBAL\Connection
* Prepares an SQL statement.
* Prepares an SQL statement.
*
*
* @param string $statement The SQL statement to prepare.
* @param string $statement The SQL statement to prepare.
* @return Doctrine\DBAL\Driver\Statement The prepared statement.
* @return
\
Doctrine\DBAL\Driver\Statement The prepared statement.
*/
*/
public
function
prepare
(
$statement
)
public
function
prepare
(
$statement
)
{
{
...
...
lib/Doctrine/DBAL/Portability/Statement.php
View file @
1969bdb9
...
@@ -56,8 +56,8 @@ class Statement implements \IteratorAggregate, \Doctrine\DBAL\Driver\Statement
...
@@ -56,8 +56,8 @@ class Statement implements \IteratorAggregate, \Doctrine\DBAL\Driver\Statement
/**
/**
* Wraps <tt>Statement</tt> and applies portability measures
* Wraps <tt>Statement</tt> and applies portability measures
*
*
* @param Doctrine\DBAL\Driver\Statement $stmt
* @param
\
Doctrine\DBAL\Driver\Statement $stmt
* @param Doctrine\DBAL\Connection $conn
* @param
\
Doctrine\DBAL\Connection $conn
*/
*/
public
function
__construct
(
$stmt
,
Connection
$conn
)
public
function
__construct
(
$stmt
,
Connection
$conn
)
{
{
...
...
lib/Doctrine/DBAL/Query/Expression/ExpressionBuilder.php
View file @
1969bdb9
...
@@ -47,7 +47,7 @@ class ExpressionBuilder
...
@@ -47,7 +47,7 @@ class ExpressionBuilder
/**
/**
* Initializes a new <tt>ExpressionBuilder</tt>.
* Initializes a new <tt>ExpressionBuilder</tt>.
*
*
* @param Doctrine\DBAL\Connection $connection DBAL Connection
* @param
\
Doctrine\DBAL\Connection $connection DBAL Connection
*/
*/
public
function
__construct
(
Connection
$connection
)
public
function
__construct
(
Connection
$connection
)
{
{
...
...
lib/Doctrine/DBAL/Query/QueryBuilder.php
View file @
1969bdb9
...
@@ -113,7 +113,7 @@ class QueryBuilder
...
@@ -113,7 +113,7 @@ class QueryBuilder
/**
/**
* Initializes a new <tt>QueryBuilder</tt>.
* Initializes a new <tt>QueryBuilder</tt>.
*
*
* @param Doctrine\DBAL\Connection $connection DBAL Connection
* @param
\
Doctrine\DBAL\Connection $connection DBAL Connection
*/
*/
public
function
__construct
(
Connection
$connection
)
public
function
__construct
(
Connection
$connection
)
{
{
...
@@ -134,7 +134,7 @@ class QueryBuilder
...
@@ -134,7 +134,7 @@ class QueryBuilder
* For more complex expression construction, consider storing the expression
* For more complex expression construction, consider storing the expression
* builder object in a local variable.
* builder object in a local variable.
*
*
* @return Doctrine\DBAL\Query\ExpressionBuilder
* @return
\
Doctrine\DBAL\Query\ExpressionBuilder
*/
*/
public
function
expr
()
public
function
expr
()
{
{
...
@@ -154,7 +154,7 @@ class QueryBuilder
...
@@ -154,7 +154,7 @@ class QueryBuilder
/**
/**
* Get the associated DBAL Connection for this query builder.
* Get the associated DBAL Connection for this query builder.
*
*
* @return Doctrine\DBAL\Connection
* @return
\
Doctrine\DBAL\Connection
*/
*/
public
function
getConnection
()
public
function
getConnection
()
{
{
...
@@ -306,7 +306,7 @@ class QueryBuilder
...
@@ -306,7 +306,7 @@ class QueryBuilder
* Sets the position of the first result to retrieve (the "offset").
* Sets the position of the first result to retrieve (the "offset").
*
*
* @param integer $firstResult The first result to return.
* @param integer $firstResult The first result to return.
* @return Doctrine\DBAL\Query\QueryBuilder This QueryBuilder instance.
* @return
\
Doctrine\DBAL\Query\QueryBuilder This QueryBuilder instance.
*/
*/
public
function
setFirstResult
(
$firstResult
)
public
function
setFirstResult
(
$firstResult
)
{
{
...
@@ -330,7 +330,7 @@ class QueryBuilder
...
@@ -330,7 +330,7 @@ class QueryBuilder
* Sets the maximum number of results to retrieve (the "limit").
* Sets the maximum number of results to retrieve (the "limit").
*
*
* @param integer $maxResults The maximum number of results to retrieve.
* @param integer $maxResults The maximum number of results to retrieve.
* @return Doctrine\DBAL\Query\QueryBuilder This QueryBuilder instance.
* @return
\
Doctrine\DBAL\Query\QueryBuilder This QueryBuilder instance.
*/
*/
public
function
setMaxResults
(
$maxResults
)
public
function
setMaxResults
(
$maxResults
)
{
{
...
@@ -359,7 +359,7 @@ class QueryBuilder
...
@@ -359,7 +359,7 @@ class QueryBuilder
* @param string $sqlPartName
* @param string $sqlPartName
* @param string $sqlPart
* @param string $sqlPart
* @param string $append
* @param string $append
* @return Doctrine\DBAL\Query\QueryBuilder This QueryBuilder instance.
* @return
\
Doctrine\DBAL\Query\QueryBuilder This QueryBuilder instance.
*/
*/
public
function
add
(
$sqlPartName
,
$sqlPart
,
$append
=
false
)
public
function
add
(
$sqlPartName
,
$sqlPart
,
$append
=
false
)
{
{
...
...
lib/Doctrine/DBAL/Schema/Column.php
View file @
1969bdb9
...
@@ -102,7 +102,7 @@ class Column extends AbstractAsset
...
@@ -102,7 +102,7 @@ class Column extends AbstractAsset
* Create a new Column
* Create a new Column
*
*
* @param string $columnName
* @param string $columnName
* @param Doctrine\DBAL\Types\Type $type
* @param
\
Doctrine\DBAL\Types\Type $type
* @param int $length
* @param int $length
* @param bool $notNull
* @param bool $notNull
* @param mixed $default
* @param mixed $default
...
...
lib/Doctrine/DBAL/Schema/Schema.php
View file @
1969bdb9
...
@@ -156,7 +156,7 @@ class Schema extends AbstractAsset
...
@@ -156,7 +156,7 @@ class Schema extends AbstractAsset
/**
/**
* @throws SchemaException
* @throws SchemaException
* @param string $sequenceName
* @param string $sequenceName
* @return Doctrine\DBAL\Schema\Sequence
* @return
\
Doctrine\DBAL\Schema\Sequence
*/
*/
public
function
getSequence
(
$sequenceName
)
public
function
getSequence
(
$sequenceName
)
{
{
...
@@ -168,7 +168,7 @@ class Schema extends AbstractAsset
...
@@ -168,7 +168,7 @@ class Schema extends AbstractAsset
}
}
/**
/**
* @return Doctrine\DBAL\Schema\Sequence[]
* @return
\
Doctrine\DBAL\Schema\Sequence[]
*/
*/
public
function
getSequences
()
public
function
getSequences
()
{
{
...
...
lib/Doctrine/DBAL/Statement.php
View file @
1969bdb9
...
@@ -59,7 +59,7 @@ class Statement implements \IteratorAggregate, DriverStatement
...
@@ -59,7 +59,7 @@ class Statement implements \IteratorAggregate, DriverStatement
* Creates a new <tt>Statement</tt> for the given SQL and <tt>Connection</tt>.
* Creates a new <tt>Statement</tt> for the given SQL and <tt>Connection</tt>.
*
*
* @param string $sql The SQL of the statement.
* @param string $sql The SQL of the statement.
* @param Doctrine\DBAL\Connection The connection on which the statement should be executed.
* @param
\
Doctrine\DBAL\Connection The connection on which the statement should be executed.
*/
*/
public
function
__construct
(
$sql
,
Connection
$conn
)
public
function
__construct
(
$sql
,
Connection
$conn
)
{
{
...
@@ -238,7 +238,7 @@ class Statement implements \IteratorAggregate, DriverStatement
...
@@ -238,7 +238,7 @@ class Statement implements \IteratorAggregate, DriverStatement
/**
/**
* Gets the wrapped driver statement.
* Gets the wrapped driver statement.
*
*
* @return Doctrine\DBAL\Driver\Statement
* @return
\
Doctrine\DBAL\Driver\Statement
*/
*/
public
function
getWrappedStatement
()
public
function
getWrappedStatement
()
{
{
...
...
lib/Doctrine/DBAL/Types/Type.php
View file @
1969bdb9
...
@@ -133,7 +133,7 @@ abstract class Type
...
@@ -133,7 +133,7 @@ abstract class Type
* @static
* @static
* @throws DBALException
* @throws DBALException
* @param string $name The name of the type (as returned by getName()).
* @param string $name The name of the type (as returned by getName()).
* @return Doctrine\DBAL\Types\Type
* @return
\
Doctrine\DBAL\Types\Type
*/
*/
public
static
function
getType
(
$name
)
public
static
function
getType
(
$name
)
{
{
...
...
tests/Doctrine/Tests/TestUtil.php
View file @
1969bdb9
...
@@ -28,7 +28,7 @@ class TestUtil
...
@@ -28,7 +28,7 @@ class TestUtil
* 1) Each invocation of this method returns a NEW database connection.
* 1) Each invocation of this method returns a NEW database connection.
* 2) The database is dropped and recreated to ensure it's clean.
* 2) The database is dropped and recreated to ensure it's clean.
*
*
* @return Doctrine\DBAL\Connection The database connection instance.
* @return
\
Doctrine\DBAL\Connection The database connection instance.
*/
*/
public
static
function
getConnection
()
public
static
function
getConnection
()
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment