1
0
mirror of synced 2025-01-30 20:11:49 +03:00

Merge pull request #143 from craue/patch-2

added missing type hint
This commit is contained in:
Benjamin Eberlei 2011-10-15 10:05:53 -07:00
commit 73101be422

View File

@ -655,7 +655,7 @@ class UnitOfWork implements PropertyChangedListener
* @param object $entity The entity for which to (re)calculate the change set.
* @throws InvalidArgumentException If the passed entity is not MANAGED.
*/
public function recomputeSingleEntityChangeSet($class, $entity)
public function recomputeSingleEntityChangeSet(ClassMetadata $class, $entity)
{
$oid = spl_object_hash($entity);