1
0
mirror of synced 2025-03-14 00:26:08 +03:00

Add missing @throws tags

This commit is contained in:
jeroendedauw 2016-02-15 15:15:32 +01:00
parent 788143dc03
commit 34dbefaf22

View File

@ -348,6 +348,7 @@ use Doctrine\Common\Util\ClassUtils;
*
* @throws \Doctrine\ORM\OptimisticLockException If a version check on an entity that
* makes use of optimistic locking fails.
* @throws ORMException
*/
public function flush($entity = null)
{
@ -567,6 +568,7 @@ use Doctrine\Common\Util\ClassUtils;
* @return void
*
* @throws ORMInvalidArgumentException
* @throws ORMException
*/
public function persist($entity)
{
@ -590,6 +592,7 @@ use Doctrine\Common\Util\ClassUtils;
* @return void
*
* @throws ORMInvalidArgumentException
* @throws ORMException
*/
public function remove($entity)
{
@ -611,6 +614,7 @@ use Doctrine\Common\Util\ClassUtils;
* @return void
*
* @throws ORMInvalidArgumentException
* @throws ORMException
*/
public function refresh($entity)
{
@ -655,6 +659,7 @@ use Doctrine\Common\Util\ClassUtils;
* @return object The managed copy of the entity.
*
* @throws ORMInvalidArgumentException
* @throws ORMException
*/
public function merge($entity)
{