Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: adrienbrault/dbal
...
head fork: adrienbrault/dbal
Checking mergeability… Don't worry, you can still create the pull request.
  • 3 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
View
10 lib/Doctrine/DBAL/Connection.php
@@ -421,7 +421,7 @@ public function isTransactionActive()
*
* @param string $tableName The name of the table on which to delete.
* @param array $identifier The deletion criteria. An associative array containing column-value pairs.
- * @return int The number of affected rows.
+ * @return integer The number of affected rows.
*/
public function delete($tableName, array $identifier)
{
@@ -453,8 +453,8 @@ public function close()
/**
* Sets the transaction isolation level.
*
- * @param int $level The level to set.
- * @return int
+ * @param integer $level The level to set.
+ * @return integer
*/
public function setTransactionIsolation($level)
{
@@ -466,7 +466,7 @@ public function setTransactionIsolation($level)
/**
* Gets the currently active transaction isolation level.
*
- * @return int The current transaction isolation level.
+ * @return integer The current transaction isolation level.
*/
public function getTransactionIsolation()
{
@@ -480,7 +480,7 @@ public function getTransactionIsolation()
* @param array $data
* @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.
- * @return int The number of affected rows.
+ * @return integer The number of affected rows.
*/
public function update($tableName, array $data, array $identifier, array $types = array())
{
View
6 lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
@@ -538,7 +538,7 @@ public function getSqrtExpression($column)
* Rounds a numeric field to the number of decimals specified.
*
* @param string $column
- * @param int $decimals
+ * @param integer $decimals
* @return string
*/
public function getRoundExpression($column, $decimals = 0)
@@ -638,7 +638,7 @@ public function getLowerExpression($str)
*
* @param string $str literal string
* @param string $substr literal string to find
- * @param boolean $startPos position to start at, beginning of string by default
+ * @param integer $startPos position to start at, beginning of string by default
* @return integer
*/
public function getLocateExpression($str, $substr, $startPos = false)
@@ -1927,7 +1927,7 @@ public function getAdvancedForeignKeyOptionsSQL(ForeignKeyConstraint $foreignKey
* returns given referential action in uppercase if valid, otherwise throws
* an exception
*
- * @throws Doctrine_Exception_Exception if unknown referential action given
+ * @throws \InvalidArgumentException if unknown referential action given
* @param string $action foreign key referential action
* @return string
*/

No commit comments for this range

Something went wrong with that request. Please try again.