DDC-1340: Missing argument 3 for OptimisticLockException::lockFailedVersionMissmatch() #1957

doctrinebot opened this Issue Aug 20, 2011 · 2 comments

2 participants


Jira issue originally created by user ambis:

UnitOfWork.php line 1409
throw OptimisticLockException::lockFailedVersionMissmatch($entityVersion, $managedCopyVersion);

OptimisticLockException.php line 54
public static function lockFailedVersionMissmatch($entity, $expectedLockVersion, $actualLockVersion)

No 3rd param in call or default in method declaration.

Warning: Missing argument 3 for Doctrine\ORM\OptimisticLockException::lockFailedVersionMissmatch(), called in /mnt/hgfs/Sites/library/Doctrine2/lib/Doctrine/ORM/UnitOfWork.php on line 1409 and defined in /mnt/hgfs/Sites/library/Doctrine2/lib/Doctrine/ORM/OptimisticLockException.php on line 54


Comment created by @beberlei:



Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.1.1 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment