1
0
mirror of synced 2025-02-01 04:51:45 +03:00

[2.0] Fixed docblock and return value from previous commit.

This commit is contained in:
romanb 2009-07-21 15:57:11 +00:00
parent ae1b9371ec
commit 1299e83853

View File

@ -1311,15 +1311,15 @@ class UnitOfWork implements PropertyChangedListener
}
/**
* Refreshes the state of the given entity from the database, overwriting
* any local, unpersisted changes.
*
*
* @param $entity
* @return unknown_type
* @param object $entity The entity to refresh.
*/
public function refresh($entity)
{
$visited = array();
return $this->_doRefresh($entity, $visited);
$this->_doRefresh($entity, $visited);
}
/**