Minor comment fixes for CRM/Extensions directory.
[civicrm-core.git] / CRM / Extension / Manager / Interface.php
index a91d4ff5e9319b050404070795cc5069570bee26..882ad35922995492ee8a6e8b8892f6402e078413 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  * The extension manager handles installing, disabling enabling, and
  * uninstalling extensions.
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2015
  */
 interface CRM_Extension_Manager_Interface {
   /**
@@ -61,15 +59,11 @@ interface CRM_Extension_Manager_Interface {
 
   /**
    * @param CRM_Extension_Info $info
-   *
-   * @return mixed
    */
   public function onPreEnable(CRM_Extension_Info $info);
 
   /**
    * @param CRM_Extension_Info $info
-   *
-   * @return mixed
    */
   public function onPostEnable(CRM_Extension_Info $info);
 
@@ -77,7 +71,8 @@ interface CRM_Extension_Manager_Interface {
    * Perform type-specific removal logic (before updating the extension
    * row in the "civicrm_extension" table).
    *
-   * @param CRM_Extension_Info $info may be generated from xml or DB (which is lossy)
+   * @param CRM_Extension_Info $info
+   *   May be generated from xml or DB (which is lossy).
    * @see CRM_Extension_Manager::createInfoFromDB
    */
   public function onPreDisable(CRM_Extension_Info $info);
@@ -86,7 +81,8 @@ interface CRM_Extension_Manager_Interface {
    * Perform type-specific removal logic (after updating the extension
    * row in the "civicrm_extension" table).
    *
-   * @param CRM_Extension_Info $info may be generated from xml or DB (which is lossy)
+   * @param CRM_Extension_Info $info
+   *   May be generated from xml or DB (which is lossy).
    * @see CRM_Extension_Manager::createInfoFromDB
    */
   public function onPostDisable(CRM_Extension_Info $info);
@@ -95,7 +91,8 @@ interface CRM_Extension_Manager_Interface {
    * Perform type-specific removal logic (before removing the extension
    * row in the "civicrm_extension" table).
    *
-   * @param CRM_Extension_Info $info may be generated from xml or DB (which is lossy)
+   * @param CRM_Extension_Info $info
+   *   May be generated from xml or DB (which is lossy).
    * @see CRM_Extension_Manager::createInfoFromDB
    */
   public function onPreUninstall(CRM_Extension_Info $info);
@@ -104,7 +101,8 @@ interface CRM_Extension_Manager_Interface {
    * Perform type-specific removal logic (after removing the extension
    * row in the "civicrm_extension" table).
    *
-   * @param CRM_Extension_Info $info may be generated from xml or DB (which is lossy)
+   * @param CRM_Extension_Info $info
+   *   May be generated from xml or DB (which is lossy).
    * @see CRM_Extension_Manager::createInfoFromDB
    */
   public function onPostUninstall(CRM_Extension_Info $info);
@@ -112,15 +110,13 @@ interface CRM_Extension_Manager_Interface {
   /**
    * @param CRM_Extension_Info $oldInfo
    * @param CRM_Extension_Info $newInfo
-   *
-   * @return mixed
    */
   public function onPreReplace(CRM_Extension_Info $oldInfo, CRM_Extension_Info $newInfo);
 
   /**
    * @param CRM_Extension_Info $oldInfo
    * @param CRM_Extension_Info $newInfo
-   *
-   * @return mixed
-   */public function onPostReplace(CRM_Extension_Info $oldInfo, CRM_Extension_Info $newInfo);
+   */
+  public function onPostReplace(CRM_Extension_Info $oldInfo, CRM_Extension_Info $newInfo);
+
 }