Permalink
Browse files

#125 PHPDoc Fixes: "int" => "integer"

  • Loading branch information...
1 parent f9f92d9 commit 6b18f1007a85818ffda1ab3888f3a986f190fe86 @adrienbrault committed Apr 2, 2012
Showing with 6 additions and 6 deletions.
  1. +5 −5 lib/Doctrine/DBAL/Connection.php
  2. +1 −1 lib/Doctrine/DBAL/Platforms/AbstractPlatform.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())
{
@@ -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)

0 comments on commit 6b18f10

Please sign in to comment.