Skip to content

Commit

Permalink
Merge pull request doctrine#143 from craue/patch-2
Browse files Browse the repository at this point in the history
added missing type hint
  • Loading branch information
beberlei committed Oct 15, 2011
2 parents 6f36672 + 689aaef commit 73101be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/UnitOfWork.php
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ private function persistNew($class, $entity)
* @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);

Expand Down

0 comments on commit 73101be

Please sign in to comment.