Add EmailLogListPage
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IDeleteAction.class.php
index 940d661d196ab296e568efe8fe54259afcb15bfd..7c2c7cc1235bcc3dc293df34867693827c855447 100644 (file)
@@ -1,25 +1,27 @@
 <?php
+
 namespace wcf\data;
 
 /**
  * Every database object action whose objects can be deleted (via AJAX) has to
  * implement this interface.
- * 
- * @author     Matthias Schmidt
- * @copyright  2001-2019 WoltLab GmbH
- * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package    WoltLabSuite\Core\Data
+ *
+ * @author  Matthias Schmidt
+ * @copyright   2001-2019 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\Data
  */
-interface IDeleteAction {
-       /**
-        * Deletes the relevant objects and returns the number of deleted objects.
-        * 
-        * @return      integer
-        */
-       public function delete();
-       
-       /**
-        * Validates the "delete" action.
-        */
-       public function validateDelete();
+interface IDeleteAction
+{
+    /**
+     * Deletes the relevant objects and returns the number of deleted objects.
+     *
+     * @return  int
+     */
+    public function delete();
+
+    /**
+     * Validates the "delete" action.
+     */
+    public function validateDelete();
 }