From 8b178914b3a51954252c4ba9af5560adb6dd933a Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Wed, 22 May 2019 14:46:53 +0200 Subject: [PATCH] Fix \DBObject::DBDelete PHPDoc --- core/dbobject.class.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/dbobject.class.php b/core/dbobject.class.php index 547acd2bfc..cf4b4e46f8 100644 --- a/core/dbobject.class.php +++ b/core/dbobject.class.php @@ -3297,12 +3297,13 @@ abstract class DBObject implements iDisplay /** * Delete an object * - * Pior to the delete the object, it checks if this is feasible to guarantee the DB integrity. - * If so, it performs any required cleanup (delete other objects or reset external keys) in addition to the object deletion. + * First, checks if the object can be deleted regarding database integrity. + * If the answer is yes, it performs any required cleanup (delete other objects or reset external keys) in addition to the object + * deletion. * * @api - * - * @param null $oDeletionPlan Do not use: aims at dealing with recursion + * + * @param \DeletionPlan $oDeletionPlan Do not use: aims at dealing with recursion * * @return DeletionPlan The detailed description of cleanup operation that have been performed *