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
5dda3cc7
Commit
5dda3cc7
authored
Jan 29, 2018
by
Gabriel Caruso
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use short type while declaring vars, params and returns
parent
1faeb780
Changes
70
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
70 changed files
with
498 additions
and
498 deletions
+498
-498
ArrayStatement.php
lib/Doctrine/DBAL/Cache/ArrayStatement.php
+3
-3
QueryCacheProfile.php
lib/Doctrine/DBAL/Cache/QueryCacheProfile.php
+4
-4
ResultCacheStatement.php
lib/Doctrine/DBAL/Cache/ResultCacheStatement.php
+5
-5
Configuration.php
lib/Doctrine/DBAL/Configuration.php
+2
-2
Connection.php
lib/Doctrine/DBAL/Connection.php
+44
-44
MasterSlaveConnection.php
lib/Doctrine/DBAL/Connections/MasterSlaveConnection.php
+2
-2
DBALException.php
lib/Doctrine/DBAL/DBALException.php
+8
-8
AbstractDriverException.php
lib/Doctrine/DBAL/Driver/AbstractDriverException.php
+4
-4
Connection.php
lib/Doctrine/DBAL/Driver/Connection.php
+6
-6
DriverException.php
lib/Doctrine/DBAL/Driver/DriverException.php
+1
-1
DB2Statement.php
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php
+1
-1
MysqliStatement.php
lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php
+3
-3
OCI8Connection.php
lib/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php
+4
-4
OCI8Statement.php
lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php
+12
-12
PDOException.php
lib/Doctrine/DBAL/Driver/PDOException.php
+1
-1
ResultStatement.php
lib/Doctrine/DBAL/Driver/ResultStatement.php
+37
-37
Driver.php
lib/Doctrine/DBAL/Driver/SQLAnywhere/Driver.php
+9
-9
SQLAnywhereConnection.php
...octrine/DBAL/Driver/SQLAnywhere/SQLAnywhereConnection.php
+3
-3
LastInsertId.php
lib/Doctrine/DBAL/Driver/SQLSrv/LastInsertId.php
+3
-3
SQLSrvStatement.php
lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php
+1
-1
ServerInfoAwareConnection.php
lib/Doctrine/DBAL/Driver/ServerInfoAwareConnection.php
+1
-1
Statement.php
lib/Doctrine/DBAL/Driver/Statement.php
+19
-19
SchemaEventArgs.php
lib/Doctrine/DBAL/Event/SchemaEventArgs.php
+2
-2
DriverException.php
lib/Doctrine/DBAL/Exception/DriverException.php
+1
-1
TableGenerator.php
lib/Doctrine/DBAL/Id/TableGenerator.php
+1
-1
DebugStack.php
lib/Doctrine/DBAL/Logging/DebugStack.php
+2
-2
AbstractPlatform.php
lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
+109
-109
KeywordList.php
lib/Doctrine/DBAL/Platforms/Keywords/KeywordList.php
+1
-1
MySqlPlatform.php
lib/Doctrine/DBAL/Platforms/MySqlPlatform.php
+3
-3
OraclePlatform.php
lib/Doctrine/DBAL/Platforms/OraclePlatform.php
+3
-3
PostgreSqlPlatform.php
lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php
+1
-1
SQLAnywherePlatform.php
lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php
+5
-5
SQLServerPlatform.php
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
+3
-3
SqlitePlatform.php
lib/Doctrine/DBAL/Platforms/SqlitePlatform.php
+8
-8
Connection.php
lib/Doctrine/DBAL/Portability/Connection.php
+4
-4
Statement.php
lib/Doctrine/DBAL/Portability/Statement.php
+6
-6
CompositeExpression.php
lib/Doctrine/DBAL/Query/Expression/CompositeExpression.php
+1
-1
QueryBuilder.php
lib/Doctrine/DBAL/Query/QueryBuilder.php
+16
-16
SQLParserUtils.php
lib/Doctrine/DBAL/SQLParserUtils.php
+6
-6
AbstractAsset.php
lib/Doctrine/DBAL/Schema/AbstractAsset.php
+7
-7
AbstractSchemaManager.php
lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
+1
-1
Column.php
lib/Doctrine/DBAL/Schema/Column.php
+23
-23
ColumnDiff.php
lib/Doctrine/DBAL/Schema/ColumnDiff.php
+1
-1
Comparator.php
lib/Doctrine/DBAL/Schema/Comparator.php
+5
-5
ForeignKeyConstraint.php
lib/Doctrine/DBAL/Schema/ForeignKeyConstraint.php
+2
-2
Index.php
lib/Doctrine/DBAL/Schema/Index.php
+16
-16
OracleSchemaManager.php
lib/Doctrine/DBAL/Schema/OracleSchemaManager.php
+1
-1
Schema.php
lib/Doctrine/DBAL/Schema/Schema.php
+7
-7
SchemaConfig.php
lib/Doctrine/DBAL/Schema/SchemaConfig.php
+6
-6
SchemaDiff.php
lib/Doctrine/DBAL/Schema/SchemaDiff.php
+1
-1
Sequence.php
lib/Doctrine/DBAL/Schema/Sequence.php
+14
-14
SchemaSynchronizer.php
lib/Doctrine/DBAL/Schema/Synchronizer/SchemaSynchronizer.php
+2
-2
Table.php
lib/Doctrine/DBAL/Schema/Table.php
+17
-17
PoolingShardConnection.php
lib/Doctrine/DBAL/Sharding/PoolingShardConnection.php
+4
-4
SQLAzureFederationsSynchronizer.php
...BAL/Sharding/SQLAzure/SQLAzureFederationsSynchronizer.php
+1
-1
SQLAzureShardManager.php
lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php
+2
-2
ShardChoser.php
lib/Doctrine/DBAL/Sharding/ShardChoser/ShardChoser.php
+1
-1
Statement.php
lib/Doctrine/DBAL/Statement.php
+12
-12
Type.php
lib/Doctrine/DBAL/Types/Type.php
+5
-5
Version.php
lib/Doctrine/DBAL/Version.php
+1
-1
NamedParametersTest.php
tests/Doctrine/Tests/DBAL/Functional/NamedParametersTest.php
+3
-3
PortabilityTest.php
tests/Doctrine/Tests/DBAL/Functional/PortabilityTest.php
+2
-2
SchemaManagerFunctionalTestCase.php
...BAL/Functional/Schema/SchemaManagerFunctionalTestCase.php
+1
-1
TypeConversionTest.php
tests/Doctrine/Tests/DBAL/Functional/TypeConversionTest.php
+1
-1
AbstractPlatformTestCase.php
...octrine/Tests/DBAL/Platforms/AbstractPlatformTestCase.php
+1
-1
AbstractPostgreSqlPlatformTestCase.php
...sts/DBAL/Platforms/AbstractPostgreSqlPlatformTestCase.php
+6
-6
ComparatorTest.php
tests/Doctrine/Tests/DBAL/Schema/ComparatorTest.php
+6
-6
UtilTest.php
tests/Doctrine/Tests/DBAL/UtilTest.php
+1
-1
HydratorMockStatement.php
tests/Doctrine/Tests/Mocks/HydratorMockStatement.php
+2
-2
TestUtil.php
tests/Doctrine/Tests/TestUtil.php
+1
-1
No files found.
lib/Doctrine/DBAL/Cache/ArrayStatement.php
View file @
5dda3cc7
...
@@ -30,17 +30,17 @@ class ArrayStatement implements \IteratorAggregate, ResultStatement
...
@@ -30,17 +30,17 @@ class ArrayStatement implements \IteratorAggregate, ResultStatement
private
$data
;
private
$data
;
/**
/**
* @var int
eger
* @var int
*/
*/
private
$columnCount
=
0
;
private
$columnCount
=
0
;
/**
/**
* @var int
eger
* @var int
*/
*/
private
$num
=
0
;
private
$num
=
0
;
/**
/**
* @var int
eger
* @var int
*/
*/
private
$defaultFetchMode
=
PDO
::
FETCH_BOTH
;
private
$defaultFetchMode
=
PDO
::
FETCH_BOTH
;
...
...
lib/Doctrine/DBAL/Cache/QueryCacheProfile.php
View file @
5dda3cc7
...
@@ -36,7 +36,7 @@ class QueryCacheProfile
...
@@ -36,7 +36,7 @@ class QueryCacheProfile
private
$resultCacheDriver
;
private
$resultCacheDriver
;
/**
/**
* @var int
eger
* @var int
*/
*/
private
$lifetime
=
0
;
private
$lifetime
=
0
;
...
@@ -46,7 +46,7 @@ class QueryCacheProfile
...
@@ -46,7 +46,7 @@ class QueryCacheProfile
private
$cacheKey
;
private
$cacheKey
;
/**
/**
* @param int
eger
$lifetime
* @param int
$lifetime
* @param string|null $cacheKey
* @param string|null $cacheKey
* @param \Doctrine\Common\Cache\Cache|null $resultCache
* @param \Doctrine\Common\Cache\Cache|null $resultCache
*/
*/
...
@@ -66,7 +66,7 @@ class QueryCacheProfile
...
@@ -66,7 +66,7 @@ class QueryCacheProfile
}
}
/**
/**
* @return int
eger
* @return int
*/
*/
public
function
getLifetime
()
public
function
getLifetime
()
{
{
...
@@ -135,7 +135,7 @@ class QueryCacheProfile
...
@@ -135,7 +135,7 @@ class QueryCacheProfile
}
}
/**
/**
* @param int
eger
$lifetime
* @param int $lifetime
*
*
* @return \Doctrine\DBAL\Cache\QueryCacheProfile
* @return \Doctrine\DBAL\Cache\QueryCacheProfile
*/
*/
...
...
lib/Doctrine/DBAL/Cache/ResultCacheStatement.php
View file @
5dda3cc7
...
@@ -56,7 +56,7 @@ class ResultCacheStatement implements \IteratorAggregate, ResultStatement
...
@@ -56,7 +56,7 @@ class ResultCacheStatement implements \IteratorAggregate, ResultStatement
private
$realKey
;
private
$realKey
;
/**
/**
* @var int
eger
* @var int
*/
*/
private
$lifetime
;
private
$lifetime
;
...
@@ -68,7 +68,7 @@ class ResultCacheStatement implements \IteratorAggregate, ResultStatement
...
@@ -68,7 +68,7 @@ class ResultCacheStatement implements \IteratorAggregate, ResultStatement
/**
/**
* Did we reach the end of the statement?
* Did we reach the end of the statement?
*
*
* @var bool
ean
* @var bool
*/
*/
private
$emptied
=
false
;
private
$emptied
=
false
;
...
@@ -78,7 +78,7 @@ class ResultCacheStatement implements \IteratorAggregate, ResultStatement
...
@@ -78,7 +78,7 @@ class ResultCacheStatement implements \IteratorAggregate, ResultStatement
private
$data
;
private
$data
;
/**
/**
* @var int
eger
* @var int
*/
*/
private
$defaultFetchMode
=
PDO
::
FETCH_BOTH
;
private
$defaultFetchMode
=
PDO
::
FETCH_BOTH
;
...
@@ -87,7 +87,7 @@ class ResultCacheStatement implements \IteratorAggregate, ResultStatement
...
@@ -87,7 +87,7 @@ class ResultCacheStatement implements \IteratorAggregate, ResultStatement
* @param \Doctrine\Common\Cache\Cache $resultCache
* @param \Doctrine\Common\Cache\Cache $resultCache
* @param string $cacheKey
* @param string $cacheKey
* @param string $realKey
* @param string $realKey
* @param int
eger
$lifetime
* @param int
$lifetime
*/
*/
public
function
__construct
(
Statement
$stmt
,
Cache
$resultCache
,
$cacheKey
,
$realKey
,
$lifetime
)
public
function
__construct
(
Statement
$stmt
,
Cache
$resultCache
,
$cacheKey
,
$realKey
,
$lifetime
)
{
{
...
@@ -209,7 +209,7 @@ class ResultCacheStatement implements \IteratorAggregate, ResultStatement
...
@@ -209,7 +209,7 @@ class ResultCacheStatement implements \IteratorAggregate, ResultStatement
* this behaviour is not guaranteed for all databases and should not be
* this behaviour is not guaranteed for all databases and should not be
* relied on for portable applications.
* relied on for portable applications.
*
*
* @return int
eger
The number of rows.
* @return int The number of rows.
*/
*/
public
function
rowCount
()
public
function
rowCount
()
{
{
...
...
lib/Doctrine/DBAL/Configuration.php
View file @
5dda3cc7
...
@@ -119,7 +119,7 @@ class Configuration
...
@@ -119,7 +119,7 @@ class Configuration
* transactions. Otherwise, its SQL statements are grouped into transactions that are terminated by a call to either
* transactions. Otherwise, its SQL statements are grouped into transactions that are terminated by a call to either
* the method commit or the method rollback. By default, new connections are in auto-commit mode.
* the method commit or the method rollback. By default, new connections are in auto-commit mode.
*
*
* @param bool
ean
$autoCommit True to enable auto-commit mode; false to disable it.
* @param bool $autoCommit True to enable auto-commit mode; false to disable it.
*
*
* @see getAutoCommit
* @see getAutoCommit
*/
*/
...
@@ -131,7 +131,7 @@ class Configuration
...
@@ -131,7 +131,7 @@ class Configuration
/**
/**
* Returns the default auto-commit mode for connections.
* Returns the default auto-commit mode for connections.
*
*
* @return bool
ean
True if auto-commit mode is enabled by default for connections, false otherwise.
* @return bool True if auto-commit mode is enabled by default for connections, false otherwise.
*
*
* @see setAutoCommit
* @see setAutoCommit
*/
*/
...
...
lib/Doctrine/DBAL/Connection.php
View file @
5dda3cc7
...
@@ -73,21 +73,21 @@ class Connection implements DriverConnection
...
@@ -73,21 +73,21 @@ class Connection implements DriverConnection
/**
/**
* Represents an array of ints to be expanded by Doctrine SQL parsing.
* Represents an array of ints to be expanded by Doctrine SQL parsing.
*
*
* @var int
eger
* @var int
*/
*/
const
PARAM_INT_ARRAY
=
101
;
const
PARAM_INT_ARRAY
=
101
;
/**
/**
* Represents an array of strings to be expanded by Doctrine SQL parsing.
* Represents an array of strings to be expanded by Doctrine SQL parsing.
*
*
* @var int
eger
* @var int
*/
*/
const
PARAM_STR_ARRAY
=
102
;
const
PARAM_STR_ARRAY
=
102
;
/**
/**
* Offset by which PARAM_* constants are detected as arrays of the param type.
* Offset by which PARAM_* constants are detected as arrays of the param type.
*
*
* @var int
eger
* @var int
*/
*/
const
ARRAY_PARAM_OFFSET
=
100
;
const
ARRAY_PARAM_OFFSET
=
100
;
...
@@ -116,35 +116,35 @@ class Connection implements DriverConnection
...
@@ -116,35 +116,35 @@ class Connection implements DriverConnection
/**
/**
* Whether or not a connection has been established.
* Whether or not a connection has been established.
*
*
* @var bool
ean
* @var bool
*/
*/
private
$_isConnected
=
false
;
private
$_isConnected
=
false
;
/**
/**
* The current auto-commit mode of this connection.
* The current auto-commit mode of this connection.
*
*
* @var bool
ean
* @var bool
*/
*/
private
$autoCommit
=
true
;
private
$autoCommit
=
true
;
/**
/**
* The transaction nesting level.
* The transaction nesting level.
*
*
* @var int
eger
* @var int
*/
*/
private
$_transactionNestingLevel
=
0
;
private
$_transactionNestingLevel
=
0
;
/**
/**
* The currently active transaction isolation level.
* The currently active transaction isolation level.
*
*
* @var int
eger
* @var int
*/
*/
private
$_transactionIsolationLevel
;
private
$_transactionIsolationLevel
;
/**
/**
* If nested transactions should use savepoints.
* If nested transactions should use savepoints.
*
*
* @var bool
ean
* @var bool
*/
*/
private
$_nestTransactionsWithSavepoints
=
false
;
private
$_nestTransactionsWithSavepoints
=
false
;
...
@@ -180,12 +180,12 @@ class Connection implements DriverConnection
...
@@ -180,12 +180,12 @@ class Connection implements DriverConnection
/**
/**
* Flag that indicates whether the current transaction is marked for rollback only.
* Flag that indicates whether the current transaction is marked for rollback only.
*
*
* @var bool
ean
* @var bool
*/
*/
private
$_isRollbackOnly
=
false
;
private
$_isRollbackOnly
=
false
;
/**
/**
* @var int
eger
* @var int
*/
*/
protected
$defaultFetchMode
=
PDO
::
FETCH_ASSOC
;
protected
$defaultFetchMode
=
PDO
::
FETCH_ASSOC
;
...
@@ -356,7 +356,7 @@ class Connection implements DriverConnection
...
@@ -356,7 +356,7 @@ class Connection implements DriverConnection
/**
/**
* Establishes the connection with the database.
* Establishes the connection with the database.
*
*
* @return bool
ean
TRUE if the connection was successfully established, FALSE if
* @return bool TRUE if the connection was successfully established, FALSE if
* the connection is already open.
* the connection is already open.
*/
*/
public
function
connect
()
public
function
connect
()
...
@@ -489,7 +489,7 @@ class Connection implements DriverConnection
...
@@ -489,7 +489,7 @@ class Connection implements DriverConnection
/**
/**
* Returns the current auto-commit mode for this connection.
* Returns the current auto-commit mode for this connection.
*
*
* @return bool
ean
True if auto-commit mode is currently enabled for this connection, false otherwise.
* @return bool True if auto-commit mode is currently enabled for this connection, false otherwise.
*
*
* @see setAutoCommit
* @see setAutoCommit
*/
*/
...
@@ -508,7 +508,7 @@ class Connection implements DriverConnection
...
@@ -508,7 +508,7 @@ class Connection implements DriverConnection
* NOTE: If this method is called during a transaction and the auto-commit mode is changed, the transaction is
* NOTE: If this method is called during a transaction and the auto-commit mode is changed, the transaction is
* committed. If this method is called and the auto-commit mode is not changed, the call is a no-op.
* committed. If this method is called and the auto-commit mode is not changed, the call is a no-op.
*
*
* @param bool
ean
$autoCommit True to enable auto-commit mode; false to disable it.
* @param bool $autoCommit True to enable auto-commit mode; false to disable it.
*
*
* @see isAutoCommit
* @see isAutoCommit
*/
*/
...
@@ -532,7 +532,7 @@ class Connection implements DriverConnection
...
@@ -532,7 +532,7 @@ class Connection implements DriverConnection
/**
/**
* Sets the fetch mode.
* Sets the fetch mode.
*
*
* @param int
eger
$fetchMode
* @param int $fetchMode
*
*
* @return void
* @return void
*/
*/
...
@@ -579,7 +579,7 @@ class Connection implements DriverConnection
...
@@ -579,7 +579,7 @@ class Connection implements DriverConnection
*
*
* @param string $statement The SQL query to be executed.
* @param string $statement The SQL query to be executed.
* @param array $params The prepared statement params.
* @param array $params The prepared statement params.
* @param int
eger
$column The 0-indexed column number to retrieve.
* @param int
$column The 0-indexed column number to retrieve.
* @param array $types The query parameter types.
* @param array $types The query parameter types.
*
*
* @return mixed|bool False is returned if no rows are found.
* @return mixed|bool False is returned if no rows are found.
...
@@ -594,7 +594,7 @@ class Connection implements DriverConnection
...
@@ -594,7 +594,7 @@ class Connection implements DriverConnection
/**
/**
* Whether an actual connection to the database is established.
* Whether an actual connection to the database is established.
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
isConnected
()
public
function
isConnected
()
{
{
...
@@ -604,7 +604,7 @@ class Connection implements DriverConnection
...
@@ -604,7 +604,7 @@ class Connection implements DriverConnection
/**
/**
* Checks whether a transaction is currently active.
* Checks whether a transaction is currently active.
*
*
* @return bool
ean
TRUE if a transaction is currently active, FALSE otherwise.
* @return bool TRUE if a transaction is currently active, FALSE otherwise.
*/
*/
public
function
isTransactionActive
()
public
function
isTransactionActive
()
{
{
...
@@ -650,7 +650,7 @@ class Connection implements DriverConnection
...
@@ -650,7 +650,7 @@ class Connection implements DriverConnection
* @param array $identifier The deletion criteria. An associative array containing column-value pairs.
* @param array $identifier The deletion criteria. An associative array containing column-value pairs.
* @param array $types The types of identifiers.
* @param array $types The types of identifiers.
*
*
* @return int
eger
The number of affected rows.
* @return int The number of affected rows.
*
*
* @throws \Doctrine\DBAL\DBALException
* @throws \Doctrine\DBAL\DBALException
* @throws InvalidArgumentException
* @throws InvalidArgumentException
...
@@ -685,9 +685,9 @@ class Connection implements DriverConnection
...
@@ -685,9 +685,9 @@ class Connection implements DriverConnection
/**
/**
* Sets the transaction isolation level.
* Sets the transaction isolation level.
*
*
* @param int
eger
$level The level to set.
* @param int $level The level to set.
*
*
* @return int
eger
* @return int
*/
*/
public
function
setTransactionIsolation
(
$level
)
public
function
setTransactionIsolation
(
$level
)
{
{
...
@@ -699,7 +699,7 @@ class Connection implements DriverConnection
...
@@ -699,7 +699,7 @@ class Connection implements DriverConnection
/**
/**
* Gets the currently active transaction isolation level.
* Gets the currently active transaction isolation level.
*
*
* @return int
eger
The current transaction isolation level.
* @return int The current transaction isolation level.
*/
*/
public
function
getTransactionIsolation
()
public
function
getTransactionIsolation
()
{
{
...
@@ -720,7 +720,7 @@ class Connection implements DriverConnection
...
@@ -720,7 +720,7 @@ class Connection implements DriverConnection
* @param array $identifier The update criteria. An associative array containing column-value pairs.
* @param array $identifier The update criteria. An associative array containing column-value pairs.
* @param array $types Types of the merged $data and $identifier arrays in that order.
* @param array $types Types of the merged $data and $identifier arrays in that order.
*
*
* @return int
eger
The number of affected rows.
* @return int The number of affected rows.
*
*
* @throws \Doctrine\DBAL\DBALException
* @throws \Doctrine\DBAL\DBALException
*/
*/
...
@@ -759,7 +759,7 @@ class Connection implements DriverConnection
...
@@ -759,7 +759,7 @@ class Connection implements DriverConnection
* @param array $data An associative array containing column-value pairs.
* @param array $data An associative array containing column-value pairs.
* @param array $types Types of the inserted data.
* @param array $types Types of the inserted data.
*
*
* @return int
eger
The number of affected rows.
* @return int The number of affected rows.
*
*
* @throws \Doctrine\DBAL\DBALException
* @throws \Doctrine\DBAL\DBALException
*/
*/
...
@@ -1042,7 +1042,7 @@ class Connection implements DriverConnection
...
@@ -1042,7 +1042,7 @@ class Connection implements DriverConnection
* @param array $params The query parameters.
* @param array $params The query parameters.
* @param array $types The parameter types.
* @param array $types The parameter types.
*
*
* @return int
eger
The number of affected rows.
* @return int The number of affected rows.
*
*
* @throws \Doctrine\DBAL\DBALException
* @throws \Doctrine\DBAL\DBALException
*/
*/
...
@@ -1086,7 +1086,7 @@ class Connection implements DriverConnection
...
@@ -1086,7 +1086,7 @@ class Connection implements DriverConnection
*
*
* @param string $statement
* @param string $statement
*
*
* @return int
eger
The number of affected rows.
* @return int The number of affected rows.
*
*
* @throws \Doctrine\DBAL\DBALException
* @throws \Doctrine\DBAL\DBALException
*/
*/
...
@@ -1115,7 +1115,7 @@ class Connection implements DriverConnection
...
@@ -1115,7 +1115,7 @@ class Connection implements DriverConnection
/**
/**
* Returns the current transaction nesting level.
* Returns the current transaction nesting level.
*
*
* @return int
eger
The nesting level. A value of 0 means there's no active transaction.
* @return int The nesting level. A value of 0 means there's no active transaction.
*/
*/
public
function
getTransactionNestingLevel
()
public
function
getTransactionNestingLevel
()
{
{
...
@@ -1125,7 +1125,7 @@ class Connection implements DriverConnection
...
@@ -1125,7 +1125,7 @@ class Connection implements DriverConnection
/**
/**
* Fetches the SQLSTATE associated with the last database operation.
* Fetches the SQLSTATE associated with the last database operation.
*
*
* @return int
eger
The last error code.
* @return int The last error code.
*/
*/
public
function
errorCode
()
public
function
errorCode
()
{
{
...
@@ -1199,7 +1199,7 @@ class Connection implements DriverConnection
...
@@ -1199,7 +1199,7 @@ class Connection implements DriverConnection
/**
/**
* Sets if nested transactions should use savepoints.
* Sets if nested transactions should use savepoints.
*
*
* @param bool
ean
$nestTransactionsWithSavepoints
* @param bool $nestTransactionsWithSavepoints
*
*
* @return void
* @return void
*
*
...
@@ -1221,7 +1221,7 @@ class Connection implements DriverConnection
...
@@ -1221,7 +1221,7 @@ class Connection implements DriverConnection
/**
/**
* Gets if nested transactions should use savepoints.
* Gets if nested transactions should use savepoints.
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
getNestTransactionsWithSavepoints
()
public
function
getNestTransactionsWithSavepoints
()
{
{
...
@@ -1481,7 +1481,7 @@ class Connection implements DriverConnection
...
@@ -1481,7 +1481,7 @@ class Connection implements DriverConnection
/**
/**
* Checks whether the current transaction is marked for rollback only.
* Checks whether the current transaction is marked for rollback only.
*
*
* @return bool
ean
* @return bool
*
*
* @throws \Doctrine\DBAL\ConnectionException If no transaction is active.
* @throws \Doctrine\DBAL\ConnectionException If no transaction is active.
*/
*/
...
...
lib/Doctrine/DBAL/Connections/MasterSlaveConnection.php
View file @
5dda3cc7
...
@@ -93,7 +93,7 @@ class MasterSlaveConnection extends Connection
...
@@ -93,7 +93,7 @@ class MasterSlaveConnection extends Connection
* You can keep the slave connection and then switch back to it
* You can keep the slave connection and then switch back to it
* during the request if you know what you are doing.
* during the request if you know what you are doing.
*
*
* @var bool
ean
* @var bool
*/
*/
protected
$keepSlave
=
false
;
protected
$keepSlave
=
false
;
...
@@ -129,7 +129,7 @@ class MasterSlaveConnection extends Connection
...
@@ -129,7 +129,7 @@ class MasterSlaveConnection extends Connection
/**
/**
* Checks if the connection is currently towards the master or not.
* Checks if the connection is currently towards the master or not.
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
isConnectedToMaster
()
public
function
isConnectedToMaster
()
{
{
...
...
lib/Doctrine/DBAL/DBALException.php
View file @
5dda3cc7
lib/Doctrine/DBAL/Driver/AbstractDriverException.php
View file @
5dda3cc7
...
@@ -31,7 +31,7 @@ abstract class AbstractDriverException extends \Exception implements DriverExcep
...
@@ -31,7 +31,7 @@ abstract class AbstractDriverException extends \Exception implements DriverExcep
/**
/**
* The driver specific error code.
* The driver specific error code.
*
*
* @var int
eger
|string|null
* @var int|string|null
*/
*/
private
$errorCode
;
private
$errorCode
;
...
@@ -47,7 +47,7 @@ abstract class AbstractDriverException extends \Exception implements DriverExcep
...
@@ -47,7 +47,7 @@ abstract class AbstractDriverException extends \Exception implements DriverExcep
*
*
* @param string $message The driver error message.
* @param string $message The driver error message.
* @param string|null $sqlState The SQLSTATE the driver is in at the time the error occurred, if any.
* @param string|null $sqlState The SQLSTATE the driver is in at the time the error occurred, if any.
* @param int
eger
|string|null $errorCode The driver specific error code if any.
* @param int|string|null $errorCode The driver specific error code if any.
*/
*/
public
function
__construct
(
$message
,
$sqlState
=
null
,
$errorCode
=
null
)
public
function
__construct
(
$message
,
$sqlState
=
null
,
$errorCode
=
null
)
{
{
...
...
lib/Doctrine/DBAL/Driver/Connection.php
View file @
5dda3cc7
...
@@ -49,7 +49,7 @@ interface Connection
...
@@ -49,7 +49,7 @@ interface Connection
* Quotes a string for use in a query.
* Quotes a string for use in a query.
*
*
* @param mixed $input
* @param mixed $input
* @param int
eger
$type
* @param int
$type
*
*
* @return mixed
* @return mixed
*/
*/
...
@@ -60,7 +60,7 @@ interface Connection
...
@@ -60,7 +60,7 @@ interface Connection
*
*
* @param string $statement
* @param string $statement
*
*
* @return int
eger
* @return int
*/
*/
function
exec
(
$statement
);
function
exec
(
$statement
);
...
@@ -76,21 +76,21 @@ interface Connection
...
@@ -76,21 +76,21 @@ interface Connection
/**
/**
* Initiates a transaction.
* Initiates a transaction.
*
*
* @return bool
ean
TRUE on success or FALSE on failure.
* @return bool TRUE on success or FALSE on failure.
*/
*/
function
beginTransaction
();
function
beginTransaction
();
/**
/**
* Commits a transaction.
* Commits a transaction.
*
*
* @return bool
ean
TRUE on success or FALSE on failure.
* @return bool TRUE on success or FALSE on failure.
*/
*/
function
commit
();
function
commit
();
/**
/**
* Rolls back the current transaction, as initiated by beginTransaction().
* Rolls back the current transaction, as initiated by beginTransaction().
*
*
* @return bool
ean
TRUE on success or FALSE on failure.
* @return bool TRUE on success or FALSE on failure.
*/
*/
function
rollBack
();
function
rollBack
();
...
...
lib/Doctrine/DBAL/Driver/DriverException.php
View file @
5dda3cc7
...
@@ -37,7 +37,7 @@ interface DriverException extends \Throwable
...
@@ -37,7 +37,7 @@ interface DriverException extends \Throwable
* Returns null if no driver specific error code is available
* Returns null if no driver specific error code is available
* for the error raised by the driver.
* for the error raised by the driver.
*
*
* @return int
eger
|string|null
* @return int|string|null
*/
*/
public
function
getErrorCode
();
public
function
getErrorCode
();
...
...
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php
View file @
5dda3cc7
...
@@ -45,7 +45,7 @@ class DB2Statement implements \IteratorAggregate, Statement
...
@@ -45,7 +45,7 @@ class DB2Statement implements \IteratorAggregate, Statement
private
$defaultFetchClassCtorArgs
=
[];
private
$defaultFetchClassCtorArgs
=
[];
/**
/**
* @var int
eger
* @var int
*/
*/
private
$_defaultFetchMode
=
\PDO
::
FETCH_BOTH
;
private
$_defaultFetchMode
=
\PDO
::
FETCH_BOTH
;
...
...
lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php
View file @
5dda3cc7
...
@@ -77,7 +77,7 @@ class MysqliStatement implements \IteratorAggregate, Statement
...
@@ -77,7 +77,7 @@ class MysqliStatement implements \IteratorAggregate, Statement
protected
$_values
=
[];
protected
$_values
=
[];
/**
/**
* @var int
eger
* @var int
*/
*/
protected
$_defaultFetchMode
=
PDO
::
FETCH_BOTH
;
protected
$_defaultFetchMode
=
PDO
::
FETCH_BOTH
;
...
@@ -227,7 +227,7 @@ class MysqliStatement implements \IteratorAggregate, Statement
...
@@ -227,7 +227,7 @@ class MysqliStatement implements \IteratorAggregate, Statement
*
*
* @param array $values
* @param array $values
*
*
* @return bool
ean
* @return bool
*/
*/
private
function
_bindValues
(
$values
)
private
function
_bindValues
(
$values
)
{
{
...
@@ -243,7 +243,7 @@ class MysqliStatement implements \IteratorAggregate, Statement
...
@@ -243,7 +243,7 @@ class MysqliStatement implements \IteratorAggregate, Statement
}
}
/**
/**
* @return bool
ean
|array
* @return bool|array
*/
*/
private
function
_fetch
()
private
function
_fetch
()
{
{
...
...
lib/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php
View file @
5dda3cc7
...
@@ -35,7 +35,7 @@ class OCI8Connection implements Connection, ServerInfoAwareConnection
...
@@ -35,7 +35,7 @@ class OCI8Connection implements Connection, ServerInfoAwareConnection
protected
$dbh
;
protected
$dbh
;
/**
/**
* @var int
eger
* @var int
*/
*/
protected
$executeMode
=
OCI_COMMIT_ON_SUCCESS
;
protected
$executeMode
=
OCI_COMMIT_ON_SUCCESS
;
...
@@ -46,8 +46,8 @@ class OCI8Connection implements Connection, ServerInfoAwareConnection
...
@@ -46,8 +46,8 @@ class OCI8Connection implements Connection, ServerInfoAwareConnection
* @param string $password
* @param string $password
* @param string $db
* @param string $db
* @param string|null $charset
* @param string|null $charset
* @param int
eger
$sessionMode
* @param int
$sessionMode
* @param bool
ean
$persistent
* @param bool
$persistent
*
*
* @throws OCI8Exception
* @throws OCI8Exception
*/
*/
...
@@ -164,7 +164,7 @@ class OCI8Connection implements Connection, ServerInfoAwareConnection
...
@@ -164,7 +164,7 @@ class OCI8Connection implements Connection, ServerInfoAwareConnection
/**
/**
* Returns the current execution mode.
* Returns the current execution mode.
*
*
* @return int
eger
* @return int
*/
*/
public
function
getExecuteMode
()
public
function
getExecuteMode
()
{
{
...
...
lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php
View file @
5dda3cc7
...
@@ -63,7 +63,7 @@ class OCI8Statement implements IteratorAggregate, Statement
...
@@ -63,7 +63,7 @@ class OCI8Statement implements IteratorAggregate, Statement
];
];
/**
/**
* @var int
eger
* @var int
*/
*/
protected
$_defaultFetchMode
=
PDO
::
FETCH_BOTH
;
protected
$_defaultFetchMode
=
PDO
::
FETCH_BOTH
;
...
...
lib/Doctrine/DBAL/Driver/PDOException.php
View file @
5dda3cc7
...
@@ -31,7 +31,7 @@ class PDOException extends \PDOException implements DriverException
...
@@ -31,7 +31,7 @@ class PDOException extends \PDOException implements DriverException
/**
/**
* The driver specific error code.
* The driver specific error code.
*
*
* @var int
eger
|string|null
* @var int|string|null
*/
*/
private
$errorCode
;
private
$errorCode
;
...
...
lib/Doctrine/DBAL/Driver/ResultStatement.php
View file @
5dda3cc7
...
@@ -29,14 +29,14 @@ interface ResultStatement extends \Traversable
...
@@ -29,14 +29,14 @@ interface ResultStatement extends \Traversable
/**
/**
* Closes the cursor, enabling the statement to be executed again.
* Closes the cursor, enabling the statement to be executed again.
*
*
* @return bool
ean
TRUE on success or FALSE on failure.
* @return bool TRUE on success or FALSE on failure.
*/
*/
public
function
closeCursor
();
public
function
closeCursor
();
/**
/**
* Returns the number of columns in the result set
* Returns the number of columns in the result set
*
*
* @return int
eger
The number of columns in the result set represented
* @return int The number of columns in the result set represented
* by the PDOStatement object. If there is no result set,
* by the PDOStatement object. If there is no result set,
* this method should return 0.
* this method should return 0.
*/
*/
...
@@ -45,11 +45,11 @@ interface ResultStatement extends \Traversable
...
@@ -45,11 +45,11 @@ interface ResultStatement extends \Traversable
/**
/**
* Sets the fetch mode to use while iterating this statement.
* Sets the fetch mode to use while iterating this statement.
*
*
* @param int
eger
$fetchMode The fetch mode must be one of the PDO::FETCH_* constants.
* @param int
$fetchMode The fetch mode must be one of the PDO::FETCH_* constants.
* @param mixed $arg2
* @param mixed $arg2
* @param mixed $arg3
* @param mixed $arg3
*
*
* @return bool
ean
* @return bool
*
*
* @see PDO::FETCH_* constants.
* @see PDO::FETCH_* constants.
*/
*/
...
@@ -109,7 +109,7 @@ interface ResultStatement extends \Traversable
...
@@ -109,7 +109,7 @@ interface ResultStatement extends \Traversable
/**
/**
* Returns a single column from the next row of a result set or FALSE if there are no more rows.
* Returns a single column from the next row of a result set or FALSE if there are no more rows.
*
*
* @param int
eger
$columnIndex 0-indexed number of the column you wish to retrieve from the row.
* @param int $columnIndex 0-indexed number of the column you wish to retrieve from the row.
* If no value is supplied, PDOStatement->fetchColumn()
* If no value is supplied, PDOStatement->fetchColumn()
* fetches the first column.
* fetches the first column.
*
*
...
...
lib/Doctrine/DBAL/Driver/SQLAnywhere/Driver.php
View file @
5dda3cc7
...
@@ -68,7 +68,7 @@ class Driver extends AbstractSQLAnywhereDriver
...
@@ -68,7 +68,7 @@ class Driver extends AbstractSQLAnywhereDriver
* Build the connection string for given connection parameters and driver options.
* Build the connection string for given connection parameters and driver options.
*
*
* @param string $host Host address to connect to.
* @param string $host Host address to connect to.
* @param int
eger
$port Port to use for the connection (default to SQL Anywhere standard port 2638).
* @param int
$port Port to use for the connection (default to SQL Anywhere standard port 2638).
* @param string $server Database server name on the host to connect to.
* @param string $server Database server name on the host to connect to.
* SQL Anywhere allows multiple database server instances on the same host,
* SQL Anywhere allows multiple database server instances on the same host,
* therefore specifying the server instance name to use is mandatory.
* therefore specifying the server instance name to use is mandatory.
...
...
lib/Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereConnection.php
View file @
5dda3cc7
...
@@ -42,7 +42,7 @@ class SQLAnywhereConnection implements Connection, ServerInfoAwareConnection
...
@@ -42,7 +42,7 @@ class SQLAnywhereConnection implements Connection, ServerInfoAwareConnection
* Connects to database with given connection string.
* Connects to database with given connection string.
*
*
* @param string $dsn The connection string.
* @param string $dsn The connection string.
* @param bool
ean
$persistent Whether or not to establish a persistent connection.
* @param bool
$persistent Whether or not to establish a persistent connection.
*
*
* @throws SQLAnywhereException
* @throws SQLAnywhereException
*/
*/
...
@@ -210,7 +210,7 @@ class SQLAnywhereConnection implements Connection, ServerInfoAwareConnection
...
@@ -210,7 +210,7 @@ class SQLAnywhereConnection implements Connection, ServerInfoAwareConnection
*
*
* @throws SQLAnywhereException
* @throws SQLAnywhereException
*
*
* @return bool
ean
Whether or not ending transactional mode succeeded.
* @return bool Whether or not ending transactional mode succeeded.
*/
*/
private
function
endTransaction
()
private
function
endTransaction
()
{
{
...
...
lib/Doctrine/DBAL/Driver/SQLSrv/LastInsertId.php
View file @
5dda3cc7
...
@@ -28,12 +28,12 @@ namespace Doctrine\DBAL\Driver\SQLSrv;
...
@@ -28,12 +28,12 @@ namespace Doctrine\DBAL\Driver\SQLSrv;
class
LastInsertId
class
LastInsertId
{
{
/**
/**
* @var int
eger
* @var int
*/
*/
private
$id
;
private
$id
;
/**
/**
* @param int
eger
$id
* @param int $id
*/
*/
public
function
setId
(
$id
)
public
function
setId
(
$id
)
{
{
...
@@ -41,7 +41,7 @@ class LastInsertId
...
@@ -41,7 +41,7 @@ class LastInsertId
}
}
/**
/**
* @return int
eger
* @return int
*/
*/
public
function
getId
()
public
function
getId
()
{
{
...
...
lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php
View file @
5dda3cc7
...
@@ -95,7 +95,7 @@ class SQLSrvStatement implements IteratorAggregate, Statement
...
@@ -95,7 +95,7 @@ class SQLSrvStatement implements IteratorAggregate, Statement
/**
/**
* The fetch style.
* The fetch style.
*
*
* @param int
eger
* @param int
*/
*/
private
$defaultFetchMode
=
PDO
::
FETCH_BOTH
;
private
$defaultFetchMode
=
PDO
::
FETCH_BOTH
;
...
...
lib/Doctrine/DBAL/Driver/ServerInfoAwareConnection.php
View file @
5dda3cc7
...
@@ -38,7 +38,7 @@ interface ServerInfoAwareConnection
...
@@ -38,7 +38,7 @@ interface ServerInfoAwareConnection
/**
/**
* Checks whether a query is required to retrieve the database server version.
* Checks whether a query is required to retrieve the database server version.
*
*
* @return bool
ean
True if a query is required to retrieve the database server version, false otherwise.
* @return bool True if a query is required to retrieve the database server version, false otherwise.
*/
*/
public
function
requiresQueryForServerVersion
();
public
function
requiresQueryForServerVersion
();
}
}
lib/Doctrine/DBAL/Driver/Statement.php
View file @
5dda3cc7
...
@@ -43,9 +43,9 @@ interface Statement extends ResultStatement
...
@@ -43,9 +43,9 @@ interface Statement extends ResultStatement
* this will be a parameter name of the form :name. For a prepared statement
* this will be a parameter name of the form :name. For a prepared statement
* using question mark placeholders, this will be the 1-indexed position of the parameter.
* using question mark placeholders, this will be the 1-indexed position of the parameter.
* @param mixed $value The value to bind to the parameter.
* @param mixed $value The value to bind to the parameter.
* @param int
eger
$type Explicit data type for the parameter using the PDO::PARAM_* constants.
* @param int
$type Explicit data type for the parameter using the PDO::PARAM_* constants.
*
*
* @return bool
ean
TRUE on success or FALSE on failure.
* @return bool TRUE on success or FALSE on failure.
*/
*/
function
bindValue
(
$param
,
$value
,
$type
=
null
);
function
bindValue
(
$param
,
$value
,
$type
=
null
);
...
@@ -68,13 +68,13 @@ interface Statement extends ResultStatement
...
@@ -68,13 +68,13 @@ interface Statement extends ResultStatement
* this will be a parameter name of the form :name. For a prepared statement using
* this will be a parameter name of the form :name. For a prepared statement using
* question mark placeholders, this will be the 1-indexed position of the parameter.
* question mark placeholders, this will be the 1-indexed position of the parameter.
* @param mixed $variable Name of the PHP variable to bind to the SQL statement parameter.
* @param mixed $variable Name of the PHP variable to bind to the SQL statement parameter.
* @param int
eger
|null $type Explicit data type for the parameter using the PDO::PARAM_* constants. To return
* @param int|null $type Explicit data type for the parameter using the PDO::PARAM_* constants. To return
* an INOUT parameter from a stored procedure, use the bitwise OR operator to set the
* an INOUT parameter from a stored procedure, use the bitwise OR operator to set the
* PDO::PARAM_INPUT_OUTPUT bits for the data_type parameter.
* PDO::PARAM_INPUT_OUTPUT bits for the data_type parameter.
* @param int
eger
|null $length You must specify maxlength when using an OUT bind
* @param int|null $length You must specify maxlength when using an OUT bind
* so that PHP allocates enough memory to hold the returned value.
* so that PHP allocates enough memory to hold the returned value.
*
*
* @return bool
ean
TRUE on success or FALSE on failure.
* @return bool TRUE on success or FALSE on failure.
*/
*/
function
bindParam
(
$column
,
&
$variable
,
$type
=
null
,
$length
=
null
);
function
bindParam
(
$column
,
&
$variable
,
$type
=
null
,
$length
=
null
);
...
@@ -109,7 +109,7 @@ interface Statement extends ResultStatement
...
@@ -109,7 +109,7 @@ interface Statement extends ResultStatement
* @param array|null $params An array of values with as many elements as there are
* @param array|null $params An array of values with as many elements as there are
* bound parameters in the SQL statement being executed.
* bound parameters in the SQL statement being executed.
*
*
* @return bool
ean
TRUE on success or FALSE on failure.
* @return bool TRUE on success or FALSE on failure.
*/
*/
function
execute
(
$params
=
null
);
function
execute
(
$params
=
null
);
...
@@ -122,7 +122,7 @@ interface Statement extends ResultStatement
...
@@ -122,7 +122,7 @@ interface Statement extends ResultStatement
* this behaviour is not guaranteed for all databases and should not be
* this behaviour is not guaranteed for all databases and should not be
* relied on for portable applications.
* relied on for portable applications.
*
*
* @return int
eger
The number of rows.
* @return int The number of rows.
*/
*/
function
rowCount
();
function
rowCount
();
}
}
lib/Doctrine/DBAL/Event/SchemaEventArgs.php
View file @
5dda3cc7
...
@@ -31,7 +31,7 @@ use Doctrine\Common\EventArgs;
...
@@ -31,7 +31,7 @@ use Doctrine\Common\EventArgs;
class
SchemaEventArgs
extends
EventArgs
class
SchemaEventArgs
extends
EventArgs
{
{
/**
/**
* @var bool
ean
* @var bool
*/
*/
private
$_preventDefault
=
false
;
private
$_preventDefault
=
false
;
...
@@ -46,7 +46,7 @@ class SchemaEventArgs extends EventArgs
...
@@ -46,7 +46,7 @@ class SchemaEventArgs extends EventArgs
}
}
/**
/**
* @return bool
ean
* @return bool
*/
*/
public
function
isDefaultPrevented
()
public
function
isDefaultPrevented
()
{
{
...
...
lib/Doctrine/DBAL/Exception/DriverException.php
View file @
5dda3cc7
...
@@ -61,7 +61,7 @@ class DriverException extends DBALException
...
@@ -61,7 +61,7 @@ class DriverException extends DBALException
*
*
* Returns null if no error code was given by the driver.
* Returns null if no error code was given by the driver.
*
*
* @return int
eger
|string|null
* @return int|string|null
*/
*/
public
function
getErrorCode
()
public
function
getErrorCode
()
{
{
...
...
lib/Doctrine/DBAL/Id/TableGenerator.php
View file @
5dda3cc7
...
@@ -99,7 +99,7 @@ class TableGenerator
...
@@ -99,7 +99,7 @@ class TableGenerator
*
*
* @param string $sequenceName
* @param string $sequenceName
*
*
* @return int
eger
* @return int
*
*
* @throws \Doctrine\DBAL\DBALException
* @throws \Doctrine\DBAL\DBALException
*/
*/
...
...
lib/Doctrine/DBAL/Logging/DebugStack.php
View file @
5dda3cc7
...
@@ -41,7 +41,7 @@ class DebugStack implements SQLLogger
...
@@ -41,7 +41,7 @@ class DebugStack implements SQLLogger
/**
/**
* If Debug Stack is enabled (log queries) or not.
* If Debug Stack is enabled (log queries) or not.
*
*
* @var bool
ean
* @var bool
*/
*/
public
$enabled
=
true
;
public
$enabled
=
true
;
...
@@ -51,7 +51,7 @@ class DebugStack implements SQLLogger
...
@@ -51,7 +51,7 @@ class DebugStack implements SQLLogger
public
$start
=
null
;
public
$start
=
null
;
/**
/**
* @var int
eger
* @var int
*/
*/
public
$currentQuery
=
0
;
public
$currentQuery
=
0
;
...
...
lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
View file @
5dda3cc7
This diff is collapsed.
Click to expand it.
lib/Doctrine/DBAL/Platforms/Keywords/KeywordList.php
View file @
5dda3cc7
...
@@ -38,7 +38,7 @@ abstract class KeywordList
...
@@ -38,7 +38,7 @@ abstract class KeywordList
*
*
* @param string $word
* @param string $word
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
isKeyword
(
$word
)
public
function
isKeyword
(
$word
)
{
{
...
...
lib/Doctrine/DBAL/Platforms/MySqlPlatform.php
View file @
5dda3cc7
...
@@ -52,8 +52,8 @@ class MySqlPlatform extends AbstractPlatform
...
@@ -52,8 +52,8 @@ class MySqlPlatform extends AbstractPlatform
* 18446744073709551615 is 2^64-1 maximum of unsigned BIGINT the biggest limit possible
* 18446744073709551615 is 2^64-1 maximum of unsigned BIGINT the biggest limit possible
*
*
* @param string $query
* @param string $query
* @param int
eger
$limit
* @param int
$limit
* @param int
eger
$offset
* @param int
$offset
*
*
* @return string
* @return string
*/
*/
...
...
lib/Doctrine/DBAL/Platforms/OraclePlatform.php
View file @
5dda3cc7
...
@@ -485,7 +485,7 @@ class OraclePlatform extends AbstractPlatform
...
@@ -485,7 +485,7 @@ class OraclePlatform extends AbstractPlatform
/**
/**
* @param string $name
* @param string $name
* @param string $table
* @param string $table
* @param int
eger
$start
* @param int
$start
*
*
* @return array
* @return array
*/
*/
...
...
lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php
View file @
5dda3cc7
...
@@ -631,7 +631,7 @@ class PostgreSqlPlatform extends AbstractPlatform
...
@@ -631,7 +631,7 @@ class PostgreSqlPlatform extends AbstractPlatform
*
*
* @param ColumnDiff $columnDiff The column diff to check against.
* @param ColumnDiff $columnDiff The column diff to check against.
*
*
* @return bool
ean
True if the given column diff is an unchanged binary type column, false otherwise.
* @return bool True if the given column diff is an unchanged binary type column, false otherwise.
*/
*/
private
function
isUnchangedBinaryColumn
(
ColumnDiff
$columnDiff
)
private
function
isUnchangedBinaryColumn
(
ColumnDiff
$columnDiff
)
{
{
...
...
lib/Doctrine/DBAL/Platforms/SQLAnywherePlatform.php
View file @
5dda3cc7
...
@@ -42,19 +42,19 @@ use Doctrine\DBAL\Schema\TableDiff;
...
@@ -42,19 +42,19 @@ use Doctrine\DBAL\Schema\TableDiff;
class
SQLAnywherePlatform
extends
AbstractPlatform
class
SQLAnywherePlatform
extends
AbstractPlatform
{
{
/**
/**
* @var int
eger
* @var int
*/
*/
const
FOREIGN_KEY_MATCH_SIMPLE
=
1
;
const
FOREIGN_KEY_MATCH_SIMPLE
=
1
;
/**
/**
* @var int
eger
* @var int
*/
*/
const
FOREIGN_KEY_MATCH_FULL
=
2
;
const
FOREIGN_KEY_MATCH_FULL
=
2
;
/**
/**
* @var int
eger
* @var int
*/
*/
const
FOREIGN_KEY_MATCH_SIMPLE_UNIQUE
=
129
;
const
FOREIGN_KEY_MATCH_SIMPLE_UNIQUE
=
129
;
/**
/**
* @var int
eger
* @var int
*/
*/
const
FOREIGN_KEY_MATCH_FULL_UNIQUE
=
130
;
const
FOREIGN_KEY_MATCH_FULL_UNIQUE
=
130
;
...
@@ -628,7 +628,7 @@ class SQLAnywherePlatform extends AbstractPlatform
...
@@ -628,7 +628,7 @@ class SQLAnywherePlatform extends AbstractPlatform
/**
/**
* Returns foreign key MATCH clause for given type.
* Returns foreign key MATCH clause for given type.
*
*
* @param int
eger
$type The foreign key match type
* @param int $type The foreign key match type
*
*
* @return string
* @return string
*
*
...
...
lib/Doctrine/DBAL/Platforms/SQLServerPlatform.php
View file @
5dda3cc7
...
@@ -630,7 +630,7 @@ class SQLServerPlatform extends AbstractPlatform
...
@@ -630,7 +630,7 @@ class SQLServerPlatform extends AbstractPlatform
*
*
* @param ColumnDiff $columnDiff The column diff to evaluate.
* @param ColumnDiff $columnDiff The column diff to evaluate.
*
*
* @return bool
ean
True if the column alteration requires dropping its default constraint first, false otherwise.
* @return bool True if the column alteration requires dropping its default constraint first, false otherwise.
*/
*/
private
function
alterColumnRequiresDropDefaultConstraint
(
ColumnDiff
$columnDiff
)
private
function
alterColumnRequiresDropDefaultConstraint
(
ColumnDiff
$columnDiff
)
{
{
...
...
lib/Doctrine/DBAL/Platforms/SqlitePlatform.php
View file @
5dda3cc7
...
@@ -526,7 +526,7 @@ class SqlitePlatform extends AbstractPlatform
...
@@ -526,7 +526,7 @@ class SqlitePlatform extends AbstractPlatform
/**
/**
* User-defined function for Sqlite that is used with PDO::sqliteCreateFunction().
* User-defined function for Sqlite that is used with PDO::sqliteCreateFunction().
*
*
* @param int
eger
|float $value
* @param int|float $value
*
*
* @return float
* @return float
*/
*/
...
@@ -538,10 +538,10 @@ class SqlitePlatform extends AbstractPlatform
...
@@ -538,10 +538,10 @@ class SqlitePlatform extends AbstractPlatform
/**
/**
* User-defined function for Sqlite that implements MOD(a, b).
* User-defined function for Sqlite that implements MOD(a, b).
*
*
* @param int
eger
$a
* @param int $a
* @param int
eger
$b
* @param int $b
*
*
* @return int
eger
* @return int
*/
*/
public
static
function
udfMod
(
$a
,
$b
)
public
static
function
udfMod
(
$a
,
$b
)
{
{
...
@@ -551,9 +551,9 @@ class SqlitePlatform extends AbstractPlatform
...
@@ -551,9 +551,9 @@ class SqlitePlatform extends AbstractPlatform
/**
/**
* @param string $str
* @param string $str
* @param string $substr
* @param string $substr
* @param int
eger
$offset
* @param int
$offset
*
*
* @return int
eger
* @return int
*/
*/
public
static
function
udfLocate
(
$str
,
$substr
,
$offset
=
0
)
public
static
function
udfLocate
(
$str
,
$substr
,
$offset
=
0
)
{
{
...
...
lib/Doctrine/DBAL/Portability/Connection.php
View file @
5dda3cc7
...
@@ -46,12 +46,12 @@ class Connection extends \Doctrine\DBAL\Connection
...
@@ -46,12 +46,12 @@ class Connection extends \Doctrine\DBAL\Connection
const
PORTABILITY_SQLSRV
=
13
;
const
PORTABILITY_SQLSRV
=
13
;
/**
/**
* @var int
eger
* @var int
*/
*/
private
$portability
=
self
::
PORTABILITY_NONE
;
private
$portability
=
self
::
PORTABILITY_NONE
;
/**
/**
* @var int
eger
* @var int
*/
*/
private
$case
;
private
$case
;
...
@@ -97,7 +97,7 @@ class Connection extends \Doctrine\DBAL\Connection
...
@@ -97,7 +97,7 @@ class Connection extends \Doctrine\DBAL\Connection
}
}
/**
/**
* @return int
eger
* @return int
*/
*/
public
function
getPortability
()
public
function
getPortability
()
{
{
...
@@ -105,7 +105,7 @@ class Connection extends \Doctrine\DBAL\Connection
...
@@ -105,7 +105,7 @@ class Connection extends \Doctrine\DBAL\Connection
}
}
/**
/**
* @return int
eger
* @return int
*/
*/
public
function
getFetchCase
()
public
function
getFetchCase
()
{
{
...
...
lib/Doctrine/DBAL/Portability/Statement.php
View file @
5dda3cc7
...
@@ -31,7 +31,7 @@ use PDO;
...
@@ -31,7 +31,7 @@ use PDO;
class
Statement
implements
\IteratorAggregate
,
\Doctrine\DBAL\Driver\Statement
class
Statement
implements
\IteratorAggregate
,
\Doctrine\DBAL\Driver\Statement
{
{
/**
/**
* @var int
eger
* @var int
*/
*/
private
$portability
;
private
$portability
;
...
@@ -41,12 +41,12 @@ class Statement implements \IteratorAggregate, \Doctrine\DBAL\Driver\Statement
...
@@ -41,12 +41,12 @@ class Statement implements \IteratorAggregate, \Doctrine\DBAL\Driver\Statement
private
$stmt
;
private
$stmt
;
/**
/**
* @var int
eger
* @var int
*/
*/
private
$case
;
private
$case
;
/**
/**
* @var int
eger
* @var int
*/
*/
private
$defaultFetchMode
=
PDO
::
FETCH_BOTH
;
private
$defaultFetchMode
=
PDO
::
FETCH_BOTH
;
...
@@ -196,8 +196,8 @@ class Statement implements \IteratorAggregate, \Doctrine\DBAL\Driver\Statement
...
@@ -196,8 +196,8 @@ class Statement implements \IteratorAggregate, \Doctrine\DBAL\Driver\Statement
/**
/**
* @param mixed $row
* @param mixed $row
* @param int
eger
$iterateRow
* @param int
$iterateRow
* @param bool
ean
$fixCase
* @param bool
$fixCase
*
*
* @return array
* @return array
*/
*/
...
...
lib/Doctrine/DBAL/Query/Expression/CompositeExpression.php
View file @
5dda3cc7
...
@@ -107,7 +107,7 @@ class CompositeExpression implements \Countable
...
@@ -107,7 +107,7 @@ class CompositeExpression implements \Countable
/**
/**
* Retrieves the amount of expressions on composite expression.
* Retrieves the amount of expressions on composite expression.
*
*
* @return int
eger
* @return int
*/
*/
public
function
count
()
public
function
count
()
{
{
...
...
lib/Doctrine/DBAL/Query/QueryBuilder.php
View file @
5dda3cc7
...
@@ -99,35 +99,35 @@ class QueryBuilder
...
@@ -99,35 +99,35 @@ class QueryBuilder
/**
/**
* The type of query this is. Can be select, update or delete.
* The type of query this is. Can be select, update or delete.
*
*
* @var int
eger
* @var int
*/
*/
private
$type
=
self
::
SELECT
;
private
$type
=
self
::
SELECT
;
/**
/**
* The state of the query object. Can be dirty or clean.
* The state of the query object. Can be dirty or clean.
*
*
* @var int
eger
* @var int
*/
*/
private
$state
=
self
::
STATE_CLEAN
;
private
$state
=
self
::
STATE_CLEAN
;
/**
/**
* The index of the first result to retrieve.
* The index of the first result to retrieve.
*
*
* @var int
eger
* @var int
*/
*/
private
$firstResult
=
null
;
private
$firstResult
=
null
;
/**
/**
* The maximum number of results to retrieve.
* The maximum number of results to retrieve.
*
*
* @var int
eger
* @var int
*/
*/
private
$maxResults
=
null
;
private
$maxResults
=
null
;
/**
/**
* The counter of bound parameters used with {@see bindValue).
* The counter of bound parameters used with {@see bindValue).
*
*
* @var int
eger
* @var int
*/
*/
private
$boundCounter
=
0
;
private
$boundCounter
=
0
;
...
@@ -165,7 +165,7 @@ class QueryBuilder
...
@@ -165,7 +165,7 @@ class QueryBuilder
/**
/**
* Gets the type of the currently built query.
* Gets the type of the currently built query.
*
*
* @return int
eger
* @return int
*/
*/
public
function
getType
()
public
function
getType
()
{
{
...
@@ -185,7 +185,7 @@ class QueryBuilder
...
@@ -185,7 +185,7 @@ class QueryBuilder
/**
/**
* Gets the state of this query builder instance.
* Gets the state of this query builder instance.
*
*
* @return int
eger
Either QueryBuilder::STATE_DIRTY or QueryBuilder::STATE_CLEAN.
* @return int Either QueryBuilder::STATE_DIRTY or QueryBuilder::STATE_CLEAN.
*/
*/
public
function
getState
()
public
function
getState
()
{
{
...
@@ -353,7 +353,7 @@ class QueryBuilder
...
@@ -353,7 +353,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 int
eger
$firstResult The first result to return.
* @param int $firstResult The first result to return.
*
*
* @return $this This QueryBuilder instance.
* @return $this This QueryBuilder instance.
*/
*/
...
@@ -369,7 +369,7 @@ class QueryBuilder
...
@@ -369,7 +369,7 @@ class QueryBuilder
* Gets the position of the first result the query object was set to retrieve (the "offset").
* Gets the position of the first result the query object was set to retrieve (the "offset").
* Returns NULL if {@link setFirstResult} was not applied to this QueryBuilder.
* Returns NULL if {@link setFirstResult} was not applied to this QueryBuilder.
*
*
* @return int
eger
The position of the first result.
* @return int The position of the first result.
*/
*/
public
function
getFirstResult
()
public
function
getFirstResult
()
{
{
...
@@ -379,7 +379,7 @@ class QueryBuilder
...
@@ -379,7 +379,7 @@ class QueryBuilder
/**
/**
* Sets the maximum number of results to retrieve (the "limit").
* Sets the maximum number of results to retrieve (the "limit").
*
*
* @param int
eger
$maxResults The maximum number of results to retrieve.
* @param int $maxResults The maximum number of results to retrieve.
*
*
* @return $this This QueryBuilder instance.
* @return $this This QueryBuilder instance.
*/
*/
...
@@ -395,7 +395,7 @@ class QueryBuilder
...
@@ -395,7 +395,7 @@ class QueryBuilder
* Gets the maximum number of results the query object was set to retrieve (the "limit").
* Gets the maximum number of results the query object was set to retrieve (the "limit").
* Returns NULL if {@link setMaxResults} was not applied to this query builder.
* Returns NULL if {@link setMaxResults} was not applied to this query builder.
*
*
* @return int
eger
The maximum number of results.
* @return int The maximum number of results.
*/
*/
public
function
getMaxResults
()
public
function
getMaxResults
()
{
{
...
@@ -410,7 +410,7 @@ class QueryBuilder
...
@@ -410,7 +410,7 @@ class QueryBuilder
*
*
* @param string $sqlPartName
* @param string $sqlPartName
* @param string $sqlPart
* @param string $sqlPart
* @param bool
ean
$append
* @param bool
$append
*
*
* @return $this This QueryBuilder instance.
* @return $this This QueryBuilder instance.
*/
*/
...
@@ -1285,7 +1285,7 @@ class QueryBuilder
...
@@ -1285,7 +1285,7 @@ class QueryBuilder
* </code>
* </code>
*
*
* @param mixed $value
* @param mixed $value
* @param int
eger
$type
* @param int
$type
*
*
* @return string
* @return string
*/
*/
...
...
lib/Doctrine/DBAL/SQLParserUtils.php
View file @
5dda3cc7
...
@@ -44,7 +44,7 @@ class SQLParserUtils
...
@@ -44,7 +44,7 @@ class SQLParserUtils
* and a string => int[] pair for a named statement.
* and a string => int[] pair for a named statement.
*
*
* @param string $statement
* @param string $statement
* @param bool
ean
$isPositional
* @param bool
$isPositional
*
*
* @return array
* @return array
*/
*/
...
...
lib/Doctrine/DBAL/Schema/AbstractAsset.php
View file @
5dda3cc7
...
@@ -46,7 +46,7 @@ abstract class AbstractAsset
...
@@ -46,7 +46,7 @@ abstract class AbstractAsset
protected
$_namespace
=
null
;
protected
$_namespace
=
null
;
/**
/**
* @var bool
ean
* @var bool
*/
*/
protected
$_quoted
=
false
;
protected
$_quoted
=
false
;
...
@@ -76,7 +76,7 @@ abstract class AbstractAsset
...
@@ -76,7 +76,7 @@ abstract class AbstractAsset
*
*
* @param string $defaultNamespaceName
* @param string $defaultNamespaceName
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
isInDefaultNamespace
(
$defaultNamespaceName
)
public
function
isInDefaultNamespace
(
$defaultNamespaceName
)
{
{
...
@@ -139,7 +139,7 @@ abstract class AbstractAsset
...
@@ -139,7 +139,7 @@ abstract class AbstractAsset
/**
/**
* Checks if this asset's name is quoted.
* Checks if this asset's name is quoted.
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
isQuoted
()
public
function
isQuoted
()
{
{
...
@@ -151,7 +151,7 @@ abstract class AbstractAsset
...
@@ -151,7 +151,7 @@ abstract class AbstractAsset
*
*
* @param string $identifier
* @param string $identifier
*
*
* @return bool
ean
* @return bool
*/
*/
protected
function
isIdentifierQuoted
(
$identifier
)
protected
function
isIdentifierQuoted
(
$identifier
)
{
{
...
@@ -212,7 +212,7 @@ abstract class AbstractAsset
...
@@ -212,7 +212,7 @@ abstract class AbstractAsset
*
*
* @param array $columnNames
* @param array $columnNames
* @param string $prefix
* @param string $prefix
* @param int
eger
$maxSize
* @param int
$maxSize
*
*
* @return string
* @return string
*/
*/
...
...
lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
View file @
5dda3cc7
...
@@ -198,7 +198,7 @@ abstract class AbstractSchemaManager
...
@@ -198,7 +198,7 @@ abstract class AbstractSchemaManager
*
*
* @param array $tableNames
* @param array $tableNames
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
tablesExist
(
$tableNames
)
public
function
tablesExist
(
$tableNames
)
{
{
...
...
lib/Doctrine/DBAL/Schema/Column.php
View file @
5dda3cc7
...
@@ -36,32 +36,32 @@ class Column extends AbstractAsset
...
@@ -36,32 +36,32 @@ class Column extends AbstractAsset
protected
$_type
;
protected
$_type
;
/**
/**
* @var int
eger
|null
* @var int|null
*/
*/
protected
$_length
=
null
;
protected
$_length
=
null
;
/**
/**
* @var int
eger
* @var int
*/
*/
protected
$_precision
=
10
;
protected
$_precision
=
10
;
/**
/**
* @var int
eger
* @var int
*/
*/
protected
$_scale
=
0
;
protected
$_scale
=
0
;
/**
/**
* @var bool
ean
* @var bool
*/
*/
protected
$_unsigned
=
false
;
protected
$_unsigned
=
false
;
/**
/**
* @var bool
ean
* @var bool
*/
*/
protected
$_fixed
=
false
;
protected
$_fixed
=
false
;
/**
/**
* @var bool
ean
* @var bool
*/
*/
protected
$_notnull
=
true
;
protected
$_notnull
=
true
;
...
@@ -71,7 +71,7 @@ class Column extends AbstractAsset
...
@@ -71,7 +71,7 @@ class Column extends AbstractAsset
protected
$_default
=
null
;
protected
$_default
=
null
;
/**
/**
* @var bool
ean
* @var bool
*/
*/
protected
$_autoincrement
=
false
;
protected
$_autoincrement
=
false
;
...
@@ -147,7 +147,7 @@ class Column extends AbstractAsset
...
@@ -147,7 +147,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @param int
eger
|null $length
* @param int|null $length
*
*
* @return Column
* @return Column
*/
*/
...
@@ -163,7 +163,7 @@ class Column extends AbstractAsset
...
@@ -163,7 +163,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @param int
eger
$precision
* @param int $precision
*
*
* @return Column
* @return Column
*/
*/
...
@@ -179,7 +179,7 @@ class Column extends AbstractAsset
...
@@ -179,7 +179,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @param int
eger
$scale
* @param int $scale
*
*
* @return Column
* @return Column
*/
*/
...
@@ -195,7 +195,7 @@ class Column extends AbstractAsset
...
@@ -195,7 +195,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @param bool
ean
$unsigned
* @param bool $unsigned
*
*
* @return Column
* @return Column
*/
*/
...
@@ -207,7 +207,7 @@ class Column extends AbstractAsset
...
@@ -207,7 +207,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @param bool
ean
$fixed
* @param bool $fixed
*
*
* @return Column
* @return Column
*/
*/
...
@@ -219,7 +219,7 @@ class Column extends AbstractAsset
...
@@ -219,7 +219,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @param bool
ean
$notnull
* @param bool $notnull
*
*
* @return Column
* @return Column
*/
*/
...
@@ -288,7 +288,7 @@ class Column extends AbstractAsset
...
@@ -288,7 +288,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @return int
eger
|null
* @return int|null
*/
*/
public
function
getLength
()
public
function
getLength
()
{
{
...
@@ -296,7 +296,7 @@ class Column extends AbstractAsset
...
@@ -296,7 +296,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @return int
eger
* @return int
*/
*/
public
function
getPrecision
()
public
function
getPrecision
()
{
{
...
@@ -304,7 +304,7 @@ class Column extends AbstractAsset
...
@@ -304,7 +304,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @return int
eger
* @return int
*/
*/
public
function
getScale
()
public
function
getScale
()
{
{
...
@@ -312,7 +312,7 @@ class Column extends AbstractAsset
...
@@ -312,7 +312,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @return bool
ean
* @return bool
*/
*/
public
function
getUnsigned
()
public
function
getUnsigned
()
{
{
...
@@ -320,7 +320,7 @@ class Column extends AbstractAsset
...
@@ -320,7 +320,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @return bool
ean
* @return bool
*/
*/
public
function
getFixed
()
public
function
getFixed
()
{
{
...
@@ -328,7 +328,7 @@ class Column extends AbstractAsset
...
@@ -328,7 +328,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @return bool
ean
* @return bool
*/
*/
public
function
getNotnull
()
public
function
getNotnull
()
{
{
...
@@ -354,7 +354,7 @@ class Column extends AbstractAsset
...
@@ -354,7 +354,7 @@ class Column extends AbstractAsset
/**
/**
* @param string $name
* @param string $name
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasPlatformOption
(
$name
)
public
function
hasPlatformOption
(
$name
)
{
{
...
@@ -380,7 +380,7 @@ class Column extends AbstractAsset
...
@@ -380,7 +380,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @return bool
ean
* @return bool
*/
*/
public
function
getAutoincrement
()
public
function
getAutoincrement
()
{
{
...
@@ -388,7 +388,7 @@ class Column extends AbstractAsset
...
@@ -388,7 +388,7 @@ class Column extends AbstractAsset
}
}
/**
/**
* @param bool
ean
$flag
* @param bool $flag
*
*
* @return Column
* @return Column
*/
*/
...
@@ -435,7 +435,7 @@ class Column extends AbstractAsset
...
@@ -435,7 +435,7 @@ class Column extends AbstractAsset
/**
/**
* @param string $name
* @param string $name
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasCustomSchemaOption
(
$name
)
public
function
hasCustomSchemaOption
(
$name
)
{
{
...
...
lib/Doctrine/DBAL/Schema/ColumnDiff.php
View file @
5dda3cc7
...
@@ -65,7 +65,7 @@ class ColumnDiff
...
@@ -65,7 +65,7 @@ class ColumnDiff
/**
/**
* @param string $propertyName
* @param string $propertyName
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasChanged
(
$propertyName
)
public
function
hasChanged
(
$propertyName
)
{
{
...
...
lib/Doctrine/DBAL/Schema/Comparator.php
View file @
5dda3cc7
...
@@ -159,7 +159,7 @@ class Comparator
...
@@ -159,7 +159,7 @@ class Comparator
* @param \Doctrine\DBAL\Schema\Schema $schema
* @param \Doctrine\DBAL\Schema\Schema $schema
* @param \Doctrine\DBAL\Schema\Sequence $sequence
* @param \Doctrine\DBAL\Schema\Sequence $sequence
*
*
* @return bool
ean
* @return bool
*/
*/
private
function
isAutoIncrementSequenceInSchema
(
$schema
,
$sequence
)
private
function
isAutoIncrementSequenceInSchema
(
$schema
,
$sequence
)
{
{
...
@@ -176,7 +176,7 @@ class Comparator
...
@@ -176,7 +176,7 @@ class Comparator
* @param \Doctrine\DBAL\Schema\Sequence $sequence1
* @param \Doctrine\DBAL\Schema\Sequence $sequence1
* @param \Doctrine\DBAL\Schema\Sequence $sequence2
* @param \Doctrine\DBAL\Schema\Sequence $sequence2
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
diffSequence
(
Sequence
$sequence1
,
Sequence
$sequence2
)
public
function
diffSequence
(
Sequence
$sequence1
,
Sequence
$sequence2
)
{
{
...
@@ -199,7 +199,7 @@ class Comparator
...
@@ -199,7 +199,7 @@ class Comparator
* @param \Doctrine\DBAL\Schema\Table $table1
* @param \Doctrine\DBAL\Schema\Table $table1
* @param \Doctrine\DBAL\Schema\Table $table2
* @param \Doctrine\DBAL\Schema\Table $table2
*
*
* @return bool
ean
|\Doctrine\DBAL\Schema\TableDiff
* @return bool|\Doctrine\DBAL\Schema\TableDiff
*/
*/
public
function
diffTable
(
Table
$table1
,
Table
$table2
)
public
function
diffTable
(
Table
$table1
,
Table
$table2
)
{
{
...
@@ -386,7 +386,7 @@ class Comparator
...
@@ -386,7 +386,7 @@ class Comparator
* @param \Doctrine\DBAL\Schema\ForeignKeyConstraint $key1
* @param \Doctrine\DBAL\Schema\ForeignKeyConstraint $key1
* @param \Doctrine\DBAL\Schema\ForeignKeyConstraint $key2
* @param \Doctrine\DBAL\Schema\ForeignKeyConstraint $key2
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
diffForeignKey
(
ForeignKeyConstraint
$key1
,
ForeignKeyConstraint
$key2
)
public
function
diffForeignKey
(
ForeignKeyConstraint
$key1
,
ForeignKeyConstraint
$key2
)
{
{
...
@@ -530,7 +530,7 @@ class Comparator
...
@@ -530,7 +530,7 @@ class Comparator
* @param \Doctrine\DBAL\Schema\Index $index1
* @param \Doctrine\DBAL\Schema\Index $index1
* @param \Doctrine\DBAL\Schema\Index $index2
* @param \Doctrine\DBAL\Schema\Index $index2
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
diffIndex
(
Index
$index1
,
Index
$index2
)
public
function
diffIndex
(
Index
$index1
,
Index
$index2
)
{
{
...
...
lib/Doctrine/DBAL/Schema/ForeignKeyConstraint.php
View file @
5dda3cc7
...
@@ -292,7 +292,7 @@ class ForeignKeyConstraint extends AbstractAsset implements Constraint
...
@@ -292,7 +292,7 @@ class ForeignKeyConstraint extends AbstractAsset implements Constraint
*
*
* @param string $name Name of the option to check.
* @param string $name Name of the option to check.
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasOption
(
$name
)
public
function
hasOption
(
$name
)
{
{
...
@@ -372,7 +372,7 @@ class ForeignKeyConstraint extends AbstractAsset implements Constraint
...
@@ -372,7 +372,7 @@ class ForeignKeyConstraint extends AbstractAsset implements Constraint
*
*
* @param Index $index The index to be checked against.
* @param Index $index The index to be checked against.
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
intersectsIndexColumns
(
Index
$index
)
public
function
intersectsIndexColumns
(
Index
$index
)
{
{
...
...
lib/Doctrine/DBAL/Schema/Index.php
View file @
5dda3cc7
...
@@ -32,12 +32,12 @@ class Index extends AbstractAsset implements Constraint
...
@@ -32,12 +32,12 @@ class Index extends AbstractAsset implements Constraint
protected
$_columns
=
[];
protected
$_columns
=
[];
/**
/**
* @var bool
ean
* @var bool
*/
*/
protected
$_isUnique
=
false
;
protected
$_isUnique
=
false
;
/**
/**
* @var bool
ean
* @var bool
*/
*/
protected
$_isPrimary
=
false
;
protected
$_isPrimary
=
false
;
...
@@ -61,8 +61,8 @@ class Index extends AbstractAsset implements Constraint
...
@@ -61,8 +61,8 @@ class Index extends AbstractAsset implements Constraint
/**
/**
* @param string $indexName
* @param string $indexName
* @param string[] $columns
* @param string[] $columns
* @param bool
ean
$isUnique
* @param bool
$isUnique
* @param bool
ean
$isPrimary
* @param bool
$isPrimary
* @param string[] $flags
* @param string[] $flags
* @param array $options
* @param array $options
*/
*/
...
@@ -132,7 +132,7 @@ class Index extends AbstractAsset implements Constraint
...
@@ -132,7 +132,7 @@ class Index extends AbstractAsset implements Constraint
/**
/**
* Is the index neither unique nor primary key?
* Is the index neither unique nor primary key?
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
isSimpleIndex
()
public
function
isSimpleIndex
()
{
{
...
@@ -140,7 +140,7 @@ class Index extends AbstractAsset implements Constraint
...
@@ -140,7 +140,7 @@ class Index extends AbstractAsset implements Constraint
}
}
/**
/**
* @return bool
ean
* @return bool
*/
*/
public
function
isUnique
()
public
function
isUnique
()
{
{
...
@@ -148,7 +148,7 @@ class Index extends AbstractAsset implements Constraint
...
@@ -148,7 +148,7 @@ class Index extends AbstractAsset implements Constraint
}
}
/**
/**
* @return bool
ean
* @return bool
*/
*/
public
function
isPrimary
()
public
function
isPrimary
()
{
{
...
@@ -157,9 +157,9 @@ class Index extends AbstractAsset implements Constraint
...
@@ -157,9 +157,9 @@ class Index extends AbstractAsset implements Constraint
/**
/**
* @param string $columnName
* @param string $columnName
* @param int
eger
$pos
* @param int
$pos
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasColumnAtPosition
(
$columnName
,
$pos
=
0
)
public
function
hasColumnAtPosition
(
$columnName
,
$pos
=
0
)
{
{
...
@@ -174,7 +174,7 @@ class Index extends AbstractAsset implements Constraint
...
@@ -174,7 +174,7 @@ class Index extends AbstractAsset implements Constraint
*
*
* @param array $columnNames
* @param array $columnNames
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
spansColumns
(
array
$columnNames
)
public
function
spansColumns
(
array
$columnNames
)
{
{
...
@@ -196,7 +196,7 @@ class Index extends AbstractAsset implements Constraint
...
@@ -196,7 +196,7 @@ class Index extends AbstractAsset implements Constraint
*
*
* @param Index $other
* @param Index $other
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
isFullfilledBy
(
Index
$other
)
public
function
isFullfilledBy
(
Index
$other
)
{
{
...
@@ -241,7 +241,7 @@ class Index extends AbstractAsset implements Constraint
...
@@ -241,7 +241,7 @@ class Index extends AbstractAsset implements Constraint
*
*
* @param Index $other
* @param Index $other
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
overrules
(
Index
$other
)
public
function
overrules
(
Index
$other
)
{
{
...
@@ -289,7 +289,7 @@ class Index extends AbstractAsset implements Constraint
...
@@ -289,7 +289,7 @@ class Index extends AbstractAsset implements Constraint
*
*
* @param string $flag
* @param string $flag
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasFlag
(
$flag
)
public
function
hasFlag
(
$flag
)
{
{
...
@@ -311,7 +311,7 @@ class Index extends AbstractAsset implements Constraint
...
@@ -311,7 +311,7 @@ class Index extends AbstractAsset implements Constraint
/**
/**
* @param string $name
* @param string $name
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasOption
(
$name
)
public
function
hasOption
(
$name
)
{
{
...
@@ -340,7 +340,7 @@ class Index extends AbstractAsset implements Constraint
...
@@ -340,7 +340,7 @@ class Index extends AbstractAsset implements Constraint
* Return whether the two indexes have the same partial index
* Return whether the two indexes have the same partial index
* @param \Doctrine\DBAL\Schema\Index $other
* @param \Doctrine\DBAL\Schema\Index $other
*
*
* @return bool
ean
* @return bool
*/
*/
private
function
samePartialIndex
(
Index
$other
)
private
function
samePartialIndex
(
Index
$other
)
{
{
...
...
lib/Doctrine/DBAL/Schema/OracleSchemaManager.php
View file @
5dda3cc7
...
@@ -343,7 +343,7 @@ class OracleSchemaManager extends AbstractSchemaManager
...
@@ -343,7 +343,7 @@ class OracleSchemaManager extends AbstractSchemaManager
/**
/**
* @param string $table
* @param string $table
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
dropAutoincrement
(
$table
)
public
function
dropAutoincrement
(
$table
)
{
{
...
...
lib/Doctrine/DBAL/Schema/Schema.php
View file @
5dda3cc7
...
@@ -109,7 +109,7 @@ class Schema extends AbstractAsset
...
@@ -109,7 +109,7 @@ class Schema extends AbstractAsset
}
}
/**
/**
* @return bool
ean
* @return bool
*/
*/
public
function
hasExplicitForeignKeyIndexes
()
public
function
hasExplicitForeignKeyIndexes
()
{
{
...
@@ -237,7 +237,7 @@ class Schema extends AbstractAsset
...
@@ -237,7 +237,7 @@ class Schema extends AbstractAsset
*
*
* @param string $namespaceName
* @param string $namespaceName
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasNamespace
(
$namespaceName
)
public
function
hasNamespace
(
$namespaceName
)
{
{
...
@@ -251,7 +251,7 @@ class Schema extends AbstractAsset
...
@@ -251,7 +251,7 @@ class Schema extends AbstractAsset
*
*
* @param string $tableName
* @param string $tableName
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasTable
(
$tableName
)
public
function
hasTable
(
$tableName
)
{
{
...
@@ -273,7 +273,7 @@ class Schema extends AbstractAsset
...
@@ -273,7 +273,7 @@ class Schema extends AbstractAsset
/**
/**
* @param string $sequenceName
* @param string $sequenceName
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasSequence
(
$sequenceName
)
public
function
hasSequence
(
$sequenceName
)
{
{
...
@@ -387,8 +387,8 @@ class Schema extends AbstractAsset
...
@@ -387,8 +387,8 @@ class Schema extends AbstractAsset
* Creates a new sequence.
* Creates a new sequence.
*
*
* @param string $sequenceName
* @param string $sequenceName
* @param int
eger
$allocationSize
* @param int
$allocationSize
* @param int
eger
$initialValue
* @param int
$initialValue
*
*
* @return \Doctrine\DBAL\Schema\Sequence
* @return \Doctrine\DBAL\Schema\Sequence
*/
*/
...
...
lib/Doctrine/DBAL/Schema/SchemaConfig.php
View file @
5dda3cc7
...
@@ -29,12 +29,12 @@ namespace Doctrine\DBAL\Schema;
...
@@ -29,12 +29,12 @@ namespace Doctrine\DBAL\Schema;
class
SchemaConfig
class
SchemaConfig
{
{
/**
/**
* @var bool
ean
* @var bool
*/
*/
protected
$hasExplicitForeignKeyIndexes
=
false
;
protected
$hasExplicitForeignKeyIndexes
=
false
;
/**
/**
* @var int
eger
* @var int
*/
*/
protected
$maxIdentifierLength
=
63
;
protected
$maxIdentifierLength
=
63
;
...
@@ -49,7 +49,7 @@ class SchemaConfig
...
@@ -49,7 +49,7 @@ class SchemaConfig
protected
$defaultTableOptions
=
[];
protected
$defaultTableOptions
=
[];
/**
/**
* @return bool
ean
* @return bool
*/
*/
public
function
hasExplicitForeignKeyIndexes
()
public
function
hasExplicitForeignKeyIndexes
()
{
{
...
@@ -57,7 +57,7 @@ class SchemaConfig
...
@@ -57,7 +57,7 @@ class SchemaConfig
}
}
/**
/**
* @param bool
ean
$flag
* @param bool $flag
*
*
* @return void
* @return void
*/
*/
...
@@ -67,7 +67,7 @@ class SchemaConfig
...
@@ -67,7 +67,7 @@ class SchemaConfig
}
}
/**
/**
* @param int
eger
$length
* @param int $length
*
*
* @return void
* @return void
*/
*/
...
@@ -77,7 +77,7 @@ class SchemaConfig
...
@@ -77,7 +77,7 @@ class SchemaConfig
}
}
/**
/**
* @return int
eger
* @return int
*/
*/
public
function
getMaxIdentifierLength
()
public
function
getMaxIdentifierLength
()
{
{
...
...
lib/Doctrine/DBAL/Schema/SchemaDiff.php
View file @
5dda3cc7
...
@@ -138,7 +138,7 @@ class SchemaDiff
...
@@ -138,7 +138,7 @@ class SchemaDiff
/**
/**
* @param \Doctrine\DBAL\Platforms\AbstractPlatform $platform
* @param \Doctrine\DBAL\Platforms\AbstractPlatform $platform
* @param bool
ean
$saveMode
* @param bool
$saveMode
*
*
* @return array
* @return array
*/
*/
...
...
lib/Doctrine/DBAL/Schema/Sequence.php
View file @
5dda3cc7
...
@@ -31,25 +31,25 @@ use Doctrine\DBAL\Schema\Visitor\Visitor;
...
@@ -31,25 +31,25 @@ use Doctrine\DBAL\Schema\Visitor\Visitor;
class
Sequence
extends
AbstractAsset
class
Sequence
extends
AbstractAsset
{
{
/**
/**
* @var int
eger
* @var int
*/
*/
protected
$allocationSize
=
1
;
protected
$allocationSize
=
1
;
/**
/**
* @var int
eger
* @var int
*/
*/
protected
$initialValue
=
1
;
protected
$initialValue
=
1
;
/**
/**
* @var int
eger
|null
* @var int|null
*/
*/
protected
$cache
=
null
;
protected
$cache
=
null
;
/**
/**
* @param string $name
* @param string $name
* @param int
eger
$allocationSize
* @param int $allocationSize
* @param int
eger
$initialValue
* @param int $initialValue
* @param int
eger
|null $cache
* @param int|null $cache
*/
*/
public
function
__construct
(
$name
,
$allocationSize
=
1
,
$initialValue
=
1
,
$cache
=
null
)
public
function
__construct
(
$name
,
$allocationSize
=
1
,
$initialValue
=
1
,
$cache
=
null
)
{
{
...
@@ -60,7 +60,7 @@ class Sequence extends AbstractAsset
...
@@ -60,7 +60,7 @@ class Sequence extends AbstractAsset
}
}
/**
/**
* @return int
eger
* @return int
*/
*/
public
function
getAllocationSize
()
public
function
getAllocationSize
()
{
{
...
@@ -68,7 +68,7 @@ class Sequence extends AbstractAsset
...
@@ -68,7 +68,7 @@ class Sequence extends AbstractAsset
}
}
/**
/**
* @return int
eger
* @return int
*/
*/
public
function
getInitialValue
()
public
function
getInitialValue
()
{
{
...
@@ -76,7 +76,7 @@ class Sequence extends AbstractAsset
...
@@ -76,7 +76,7 @@ class Sequence extends AbstractAsset
}
}
/**
/**
* @return int
eger
|null
* @return int|null
*/
*/
public
function
getCache
()
public
function
getCache
()
{
{
...
@@ -84,7 +84,7 @@ class Sequence extends AbstractAsset
...
@@ -84,7 +84,7 @@ class Sequence extends AbstractAsset
}
}
/**
/**
* @param int
eger
$allocationSize
* @param int $allocationSize
*
*
* @return \Doctrine\DBAL\Schema\Sequence
* @return \Doctrine\DBAL\Schema\Sequence
*/
*/
...
@@ -96,7 +96,7 @@ class Sequence extends AbstractAsset
...
@@ -96,7 +96,7 @@ class Sequence extends AbstractAsset
}
}
/**
/**
* @param int
eger
$initialValue
* @param int $initialValue
*
*
* @return \Doctrine\DBAL\Schema\Sequence
* @return \Doctrine\DBAL\Schema\Sequence
*/
*/
...
@@ -108,7 +108,7 @@ class Sequence extends AbstractAsset
...
@@ -108,7 +108,7 @@ class Sequence extends AbstractAsset
}
}
/**
/**
* @param int
eger
$cache
* @param int $cache
*
*
* @return \Doctrine\DBAL\Schema\Sequence
* @return \Doctrine\DBAL\Schema\Sequence
*/
*/
...
@@ -127,7 +127,7 @@ class Sequence extends AbstractAsset
...
@@ -127,7 +127,7 @@ class Sequence extends AbstractAsset
*
*
* @param \Doctrine\DBAL\Schema\Table $table
* @param \Doctrine\DBAL\Schema\Table $table
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
isAutoIncrementsFor
(
Table
$table
)
public
function
isAutoIncrementsFor
(
Table
$table
)
{
{
...
...
lib/Doctrine/DBAL/Schema/Synchronizer/SchemaSynchronizer.php
View file @
5dda3cc7
...
@@ -42,7 +42,7 @@ interface SchemaSynchronizer
...
@@ -42,7 +42,7 @@ interface SchemaSynchronizer
* Gets the SQL Statements to update given schema with the underlying db.
* Gets the SQL Statements to update given schema with the underlying db.
*
*
* @param \Doctrine\DBAL\Schema\Schema $toSchema
* @param \Doctrine\DBAL\Schema\Schema $toSchema
* @param bool
ean
$noDrops
* @param bool
$noDrops
*
*
* @return array
* @return array
*/
*/
...
@@ -77,7 +77,7 @@ interface SchemaSynchronizer
...
@@ -77,7 +77,7 @@ interface SchemaSynchronizer
* Updates the Schema to new schema version.
* Updates the Schema to new schema version.
*
*
* @param \Doctrine\DBAL\Schema\Schema $toSchema
* @param \Doctrine\DBAL\Schema\Schema $toSchema
* @param bool
ean
$noDrops
* @param bool
$noDrops
*
*
* @return void
* @return void
*/
*/
...
...
lib/Doctrine/DBAL/Schema/Table.php
View file @
5dda3cc7
...
@@ -77,7 +77,7 @@ class Table extends AbstractAsset
...
@@ -77,7 +77,7 @@ class Table extends AbstractAsset
* @param Column[] $columns
* @param Column[] $columns
* @param Index[] $indexes
* @param Index[] $indexes
* @param ForeignKeyConstraint[] $fkConstraints
* @param ForeignKeyConstraint[] $fkConstraints
* @param int
eger
$idGeneratorType
* @param int
$idGeneratorType
* @param array $options
* @param array $options
*
*
* @throws DBALException
* @throws DBALException
...
@@ -116,7 +116,7 @@ class Table extends AbstractAsset
...
@@ -116,7 +116,7 @@ class Table extends AbstractAsset
}
}
/**
/**
* @return int
eger
* @return int
*/
*/
protected
function
_getMaxIdentifierLength
()
protected
function
_getMaxIdentifierLength
()
{
{
...
@@ -264,7 +264,7 @@ class Table extends AbstractAsset
...
@@ -264,7 +264,7 @@ class Table extends AbstractAsset
*
*
* @param array $columnsNames
* @param array $columnsNames
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
columnsAreIndexed
(
array
$columnsNames
)
public
function
columnsAreIndexed
(
array
$columnsNames
)
{
{
...
@@ -281,8 +281,8 @@ class Table extends AbstractAsset
...
@@ -281,8 +281,8 @@ class Table extends AbstractAsset
/**
/**
* @param array $columnNames
* @param array $columnNames
* @param string $indexName
* @param string $indexName
* @param bool
ean
$isUnique
* @param bool
$isUnique
* @param bool
ean
$isPrimary
* @param bool
$isPrimary
* @param array $flags
* @param array $flags
* @param array $options
* @param array $options
*
*
...
@@ -568,7 +568,7 @@ class Table extends AbstractAsset
...
@@ -568,7 +568,7 @@ class Table extends AbstractAsset
*
*
* @param string $constraintName
* @param string $constraintName
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasForeignKey
(
$constraintName
)
public
function
hasForeignKey
(
$constraintName
)
{
{
...
@@ -660,7 +660,7 @@ class Table extends AbstractAsset
...
@@ -660,7 +660,7 @@ class Table extends AbstractAsset
*
*
* @param string $columnName The column name.
* @param string $columnName The column name.
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasColumn
(
$columnName
)
public
function
hasColumn
(
$columnName
)
{
{
...
@@ -720,7 +720,7 @@ class Table extends AbstractAsset
...
@@ -720,7 +720,7 @@ class Table extends AbstractAsset
/**
/**
* Returns whether this table has a primary key.
* Returns whether this table has a primary key.
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasPrimaryKey
()
public
function
hasPrimaryKey
()
{
{
...
@@ -732,7 +732,7 @@ class Table extends AbstractAsset
...
@@ -732,7 +732,7 @@ class Table extends AbstractAsset
*
*
* @param string $indexName The index name.
* @param string $indexName The index name.
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasIndex
(
$indexName
)
public
function
hasIndex
(
$indexName
)
{
{
...
@@ -781,7 +781,7 @@ class Table extends AbstractAsset
...
@@ -781,7 +781,7 @@ class Table extends AbstractAsset
/**
/**
* @param string $name
* @param string $name
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
hasOption
(
$name
)
public
function
hasOption
(
$name
)
{
{
...
...
lib/Doctrine/DBAL/Sharding/PoolingShardConnection.php
View file @
5dda3cc7
...
@@ -70,7 +70,7 @@ class PoolingShardConnection extends Connection
...
@@ -70,7 +70,7 @@ class PoolingShardConnection extends Connection
private
$activeConnections
;
private
$activeConnections
;
/**
/**
* @var int
eger
* @var int
*/
*/
private
$activeShardId
;
private
$activeShardId
;
...
@@ -129,7 +129,7 @@ class PoolingShardConnection extends Connection
...
@@ -129,7 +129,7 @@ class PoolingShardConnection extends Connection
/**
/**
* Get active shard id.
* Get active shard id.
*
*
* @return int
eger
* @return int
*/
*/
public
function
getActiveShardId
()
public
function
getActiveShardId
()
{
{
...
@@ -189,7 +189,7 @@ class PoolingShardConnection extends Connection
...
@@ -189,7 +189,7 @@ class PoolingShardConnection extends Connection
*
*
* @param mixed $shardId
* @param mixed $shardId
*
*
* @return bool
ean
* @return bool
*
*
* @throws \Doctrine\DBAL\Sharding\ShardingException
* @throws \Doctrine\DBAL\Sharding\ShardingException
*/
*/
...
@@ -249,7 +249,7 @@ class PoolingShardConnection extends Connection
...
@@ -249,7 +249,7 @@ class PoolingShardConnection extends Connection
/**
/**
* @param string|null $shardId
* @param string|null $shardId
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
isConnected
(
$shardId
=
null
)
public
function
isConnected
(
$shardId
=
null
)
{
{
...
...
lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureFederationsSynchronizer.php
View file @
5dda3cc7
...
@@ -191,7 +191,7 @@ class SQLAzureFederationsSynchronizer extends AbstractSchemaSynchronizer
...
@@ -191,7 +191,7 @@ class SQLAzureFederationsSynchronizer extends AbstractSchemaSynchronizer
/**
/**
* @param \Doctrine\DBAL\Schema\Schema $schema
* @param \Doctrine\DBAL\Schema\Schema $schema
* @param bool
ean
$isFederation
* @param bool
$isFederation
*
*
* @return \Doctrine\DBAL\Schema\Schema
* @return \Doctrine\DBAL\Schema\Schema
*
*
...
...
lib/Doctrine/DBAL/Sharding/SQLAzure/SQLAzureShardManager.php
View file @
5dda3cc7
...
@@ -37,7 +37,7 @@ class SQLAzureShardManager implements ShardManager
...
@@ -37,7 +37,7 @@ class SQLAzureShardManager implements ShardManager
private
$federationName
;
private
$federationName
;
/**
/**
* @var bool
ean
* @var bool
*/
*/
private
$filteringEnabled
;
private
$filteringEnabled
;
...
@@ -122,7 +122,7 @@ class SQLAzureShardManager implements ShardManager
...
@@ -122,7 +122,7 @@ class SQLAzureShardManager implements ShardManager
/**
/**
* Sets Enabled/Disable filtering on the fly.
* Sets Enabled/Disable filtering on the fly.
*
*
* @param bool
ean
$flag
* @param bool $flag
*
*
* @return void
* @return void
*/
*/
...
...
lib/Doctrine/DBAL/Sharding/ShardChoser/ShardChoser.php
View file @
5dda3cc7
...
@@ -35,7 +35,7 @@ interface ShardChoser
...
@@ -35,7 +35,7 @@ interface ShardChoser
* @param string $distributionValue
* @param string $distributionValue
* @param \Doctrine\DBAL\Sharding\PoolingShardConnection $conn
* @param \Doctrine\DBAL\Sharding\PoolingShardConnection $conn
*
*
* @return int
eger
* @return int
*/
*/
function
pickShard
(
$distributionValue
,
PoolingShardConnection
$conn
);
function
pickShard
(
$distributionValue
,
PoolingShardConnection
$conn
);
}
}
lib/Doctrine/DBAL/Statement.php
View file @
5dda3cc7
...
@@ -100,7 +100,7 @@ class Statement implements \IteratorAggregate, DriverStatement
...
@@ -100,7 +100,7 @@ class Statement implements \IteratorAggregate, DriverStatement
* @param mixed $value The value of the parameter.
* @param mixed $value The value of the parameter.
* @param mixed $type Either a PDO binding type or a DBAL mapping type name or instance.
* @param mixed $type Either a PDO binding type or a DBAL mapping type name or instance.
*
*
* @return bool
ean
TRUE on success, FALSE on failure.
* @return bool TRUE on success, FALSE on failure.
*/
*/
public
function
bindValue
(
$name
,
$value
,
$type
=
null
)
public
function
bindValue
(
$name
,
$value
,
$type
=
null
)
{
{
...
@@ -130,11 +130,11 @@ class Statement implements \IteratorAggregate, DriverStatement
...
@@ -130,11 +130,11 @@ class Statement implements \IteratorAggregate, DriverStatement
*
*
* @param string $name The name or position of the parameter.
* @param string $name The name or position of the parameter.
* @param mixed $var The reference to the variable to bind.
* @param mixed $var The reference to the variable to bind.
* @param int
eger
$type The PDO binding type.
* @param int $type The PDO binding type.
* @param int
eger
|null $length Must be specified when using an OUT bind
* @param int|null $length Must be specified when using an OUT bind
* so that PHP allocates enough memory to hold the returned value.
* so that PHP allocates enough memory to hold the returned value.
*
*
* @return bool
ean
TRUE on success, FALSE on failure.
* @return bool TRUE on success, FALSE on failure.
*/
*/
public
function
bindParam
(
$name
,
&
$var
,
$type
=
PDO
::
PARAM_STR
,
$length
=
null
)
public
function
bindParam
(
$name
,
&
$var
,
$type
=
PDO
::
PARAM_STR
,
$length
=
null
)
{
{
...
@@ -149,7 +149,7 @@ class Statement implements \IteratorAggregate, DriverStatement
...
@@ -149,7 +149,7 @@ class Statement implements \IteratorAggregate, DriverStatement
*
*
* @param array|null $params
* @param array|null $params
*
*
* @return bool
ean
TRUE on success, FALSE on failure.
* @return bool TRUE on success, FALSE on failure.
*
*
* @throws \Doctrine\DBAL\DBALException
* @throws \Doctrine\DBAL\DBALException
*/
*/
...
@@ -190,7 +190,7 @@ class Statement implements \IteratorAggregate, DriverStatement
...
@@ -190,7 +190,7 @@ class Statement implements \IteratorAggregate, DriverStatement
/**
/**
* Closes the cursor, freeing the database resources used by this statement.
* Closes the cursor, freeing the database resources used by this statement.
*
*
* @return bool
ean
TRUE on success, FALSE on failure.
* @return bool TRUE on success, FALSE on failure.
*/
*/
public
function
closeCursor
()
public
function
closeCursor
()
{
{
...
@@ -200,7 +200,7 @@ class Statement implements \IteratorAggregate, DriverStatement
...
@@ -200,7 +200,7 @@ class Statement implements \IteratorAggregate, DriverStatement
/**
/**
* Returns the number of columns in the result set.
* Returns the number of columns in the result set.
*
*
* @return int
eger
* @return int
*/
*/
public
function
columnCount
()
public
function
columnCount
()
{
{
...
@@ -274,7 +274,7 @@ class Statement implements \IteratorAggregate, DriverStatement
...
@@ -274,7 +274,7 @@ class Statement implements \IteratorAggregate, DriverStatement
/**
/**
* Returns a single column from the next row of a result set.
* Returns a single column from the next row of a result set.
*
*
* @param int
eger
$columnIndex
* @param int $columnIndex
*
*
* @return mixed A single column from the next row of a result set or FALSE if there are no more rows.
* @return mixed A single column from the next row of a result set or FALSE if there are no more rows.
*/
*/
...
@@ -286,7 +286,7 @@ class Statement implements \IteratorAggregate, DriverStatement
...
@@ -286,7 +286,7 @@ class Statement implements \IteratorAggregate, DriverStatement
/**
/**
* Returns the number of rows affected by the last execution of this statement.
* Returns the number of rows affected by the last execution of this statement.
*
*
* @return int
eger
The number of affected rows.
* @return int The number of affected rows.
*/
*/
public
function
rowCount
()
public
function
rowCount
()
{
{
...
...
lib/Doctrine/DBAL/Types/Type.php
View file @
5dda3cc7
...
@@ -139,7 +139,7 @@ abstract class Type
...
@@ -139,7 +139,7 @@ abstract class Type
*
*
* @param \Doctrine\DBAL\Platforms\AbstractPlatform $platform
* @param \Doctrine\DBAL\Platforms\AbstractPlatform $platform
*
*
* @return int
eger
|null
* @return int|null
*
*
* @todo Needed?
* @todo Needed?
*/
*/
...
@@ -213,7 +213,7 @@ abstract class Type
...
@@ -213,7 +213,7 @@ abstract class Type
*
*
* @param string $name The name of the type.
* @param string $name The name of the type.
*
*
* @return bool
ean
TRUE if type is supported; FALSE otherwise.
* @return bool TRUE if type is supported; FALSE otherwise.
*/
*/
public
static
function
hasType
(
$name
)
public
static
function
hasType
(
$name
)
{
{
...
@@ -255,7 +255,7 @@ abstract class Type
...
@@ -255,7 +255,7 @@ abstract class Type
* PDO::PARAM_STR
* PDO::PARAM_STR
* PDO::PARAM_LOB
* PDO::PARAM_LOB
*
*
* @return int
eger
* @return int
*/
*/
public
function
getBindingType
()
public
function
getBindingType
()
{
{
...
@@ -291,7 +291,7 @@ abstract class Type
...
@@ -291,7 +291,7 @@ abstract class Type
* {@link convertToPHPValueSQL} works for any type and mostly
* {@link convertToPHPValueSQL} works for any type and mostly
* does nothing. This method can additionally be used for optimization purposes.
* does nothing. This method can additionally be used for optimization purposes.
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
canRequireSQLConversion
()
public
function
canRequireSQLConversion
()
{
{
...
@@ -344,7 +344,7 @@ abstract class Type
...
@@ -344,7 +344,7 @@ abstract class Type
*
*
* @param \Doctrine\DBAL\Platforms\AbstractPlatform $platform
* @param \Doctrine\DBAL\Platforms\AbstractPlatform $platform
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
requiresSQLCommentHint
(
AbstractPlatform
$platform
)
public
function
requiresSQLCommentHint
(
AbstractPlatform
$platform
)
{
{
...
...
lib/Doctrine/DBAL/Version.php
View file @
5dda3cc7
...
@@ -41,7 +41,7 @@ class Version
...
@@ -41,7 +41,7 @@ class Version
*
*
* @param string $version The Doctrine version to compare to.
* @param string $version The Doctrine version to compare to.
*
*
* @return int
eger
-1 if older, 0 if it is the same, 1 if version passed as argument is newer.
* @return int -1 if older, 0 if it is the same, 1 if version passed as argument is newer.
*/
*/
public
static
function
compare
(
$version
)
public
static
function
compare
(
$version
)
{
{
...
...
tests/Doctrine/Tests/DBAL/Functional/NamedParametersTest.php
View file @
5dda3cc7
tests/Doctrine/Tests/DBAL/Functional/PortabilityTest.php
View file @
5dda3cc7
...
@@ -24,8 +24,8 @@ class PortabilityTest extends \Doctrine\Tests\DbalFunctionalTestCase
...
@@ -24,8 +24,8 @@ class PortabilityTest extends \Doctrine\Tests\DbalFunctionalTestCase
}
}
/**
/**
* @param
integer
$portabilityMode
* @param
int
$portabilityMode
* @param
integer
$case
* @param
int
$case
* @return Connection
* @return Connection
*/
*/
private
function
getPortableConnection
(
$portabilityMode
=
\Doctrine\DBAL\Portability\Connection
::
PORTABILITY_ALL
,
$case
=
\PDO
::
CASE_LOWER
)
private
function
getPortableConnection
(
$portabilityMode
=
\Doctrine\DBAL\Portability\Connection
::
PORTABILITY_ALL
,
$case
=
\PDO
::
CASE_LOWER
)
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/SchemaManagerFunctionalTestCase.php
View file @
5dda3cc7
tests/Doctrine/Tests/DBAL/Functional/TypeConversionTest.php
View file @
5dda3cc7
tests/Doctrine/Tests/DBAL/Platforms/AbstractPlatformTestCase.php
View file @
5dda3cc7
...
@@ -733,7 +733,7 @@ abstract class AbstractPlatformTestCase extends \Doctrine\Tests\DbalTestCase
...
@@ -733,7 +733,7 @@ abstract class AbstractPlatformTestCase extends \Doctrine\Tests\DbalTestCase
abstract
protected
function
getQuotesReservedKeywordInIndexDeclarationSQL
();
abstract
protected
function
getQuotesReservedKeywordInIndexDeclarationSQL
();
/**
/**
* @return bool
ean
* @return bool
*/
*/
protected
function
supportsInlineIndexDeclaration
()
protected
function
supportsInlineIndexDeclaration
()
{
{
...
...
tests/Doctrine/Tests/DBAL/Platforms/AbstractPostgreSqlPlatformTestCase.php
View file @
5dda3cc7
...
@@ -369,8 +369,8 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
...
@@ -369,8 +369,8 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
*
*
* @param string $databaseValue
* @param string $databaseValue
* @param string $preparedStatementValue
* @param string $preparedStatementValue
* @param int
eger
$integerValue
* @param int
$integerValue
* @param bool
ean
$booleanValue
* @param bool
$booleanValue
*/
*/
public
function
testConvertBooleanAsLiteralStrings
(
public
function
testConvertBooleanAsLiteralStrings
(
$databaseValue
,
$databaseValue
,
...
@@ -404,8 +404,8 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
...
@@ -404,8 +404,8 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
*
*
* @param string $databaseValue
* @param string $databaseValue
* @param string $preparedStatementValue
* @param string $preparedStatementValue
* @param int
eger
$integerValue
* @param int
$integerValue
* @param bool
ean
$booleanValue
* @param bool
$booleanValue
*/
*/
public
function
testConvertBooleanAsDatabaseValueStrings
(
public
function
testConvertBooleanAsDatabaseValueStrings
(
$databaseValue
,
$databaseValue
,
...
@@ -436,8 +436,8 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
...
@@ -436,8 +436,8 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
*
*
* @param string $databaseValue
* @param string $databaseValue
* @param string $prepareStatementValue
* @param string $prepareStatementValue
* @param int
eger
$integerValue
* @param int
$integerValue
* @param bool
ean
$booleanValue
* @param bool
$booleanValue
*/
*/
public
function
testConvertFromBoolean
(
$databaseValue
,
$prepareStatementValue
,
$integerValue
,
$booleanValue
)
public
function
testConvertFromBoolean
(
$databaseValue
,
$prepareStatementValue
,
$integerValue
,
$booleanValue
)
{
{
...
...
tests/Doctrine/Tests/DBAL/Schema/ComparatorTest.php
View file @
5dda3cc7
tests/Doctrine/Tests/DBAL/UtilTest.php
View file @
5dda3cc7
tests/Doctrine/Tests/Mocks/HydratorMockStatement.php
View file @
5dda3cc7
...
@@ -54,7 +54,7 @@ class HydratorMockStatement implements \Doctrine\DBAL\Driver\Statement
...
@@ -54,7 +54,7 @@ class HydratorMockStatement implements \Doctrine\DBAL\Driver\Statement
/**
/**
* Closes the cursor, enabling the statement to be executed again.
* Closes the cursor, enabling the statement to be executed again.
*
*
* @return bool
ean
* @return bool
*/
*/
public
function
closeCursor
()
public
function
closeCursor
()
{
{
...
...
tests/Doctrine/Tests/TestUtil.php
View file @
5dda3cc7
...
@@ -13,7 +13,7 @@ use Doctrine\DBAL\DriverManager;
...
@@ -13,7 +13,7 @@ use Doctrine\DBAL\DriverManager;
class
TestUtil
class
TestUtil
{
{
/**
/**
* @var bool
ean
Whether the database schema is initialized.
* @var bool Whether the database schema is initialized.
*/
*/
private
static
$initialized
=
false
;
private
static
$initialized
=
false
;
...
...
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