1
0
mirror of synced 2025-02-08 00:09:26 +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 object $entity The entity to refresh.
* @param $entity
* @return unknown_type
*/ */
public function refresh($entity) public function refresh($entity)
{ {
$visited = array(); $visited = array();
return $this->_doRefresh($entity, $visited); $this->_doRefresh($entity, $visited);
} }
/** /**