[2.0] Fixed docblock and return value from previous commit.
This commit is contained in:
parent
ae1b9371ec
commit
1299e83853
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user