Skip to content

Commit

Permalink
doctrine#125 PHPDoc Fixes: "int" => "integer"
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienbrault committed Apr 2, 2012
1 parent f9f92d9 commit 6b18f10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions lib/Doctrine/DBAL/Connection.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ public function isTransactionActive()
* *
* @param string $tableName The name of the table on which to delete. * @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. * @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) public function delete($tableName, array $identifier)
{ {
Expand Down Expand Up @@ -453,8 +453,8 @@ public function close()
/** /**
* Sets the transaction isolation level. * Sets the transaction isolation level.
* *
* @param int $level The level to set. * @param integer $level The level to set.
* @return int * @return integer
*/ */
public function setTransactionIsolation($level) public function setTransactionIsolation($level)
{ {
Expand All @@ -466,7 +466,7 @@ public function setTransactionIsolation($level)
/** /**
* Gets the currently active transaction isolation 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() public function getTransactionIsolation()
{ {
Expand All @@ -480,7 +480,7 @@ public function getTransactionIsolation()
* @param array $data * @param array $data
* @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 The number of affected rows. * @return integer The number of affected rows.
*/ */
public function update($tableName, array $data, array $identifier, array $types = array()) public function update($tableName, array $data, array $identifier, array $types = array())
{ {
Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ public function getSqrtExpression($column)
* Rounds a numeric field to the number of decimals specified. * Rounds a numeric field to the number of decimals specified.
* *
* @param string $column * @param string $column
* @param int $decimals * @param integer $decimals
* @return string * @return string
*/ */
public function getRoundExpression($column, $decimals = 0) public function getRoundExpression($column, $decimals = 0)
Expand Down

0 comments on commit 6b18f10

Please sign in to comment.