INFRA-132 - Drupal.Classes.ClassDeclaration
[civicrm-core.git] / CRM / Group / Page / Group.php
index 64ad6bcb90c04b06d55482b9491edbaa4d62a258..126256784e3d2e38afc172abe65fb8f124f067d4 100644 (file)
@@ -45,9 +45,10 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   /**
    * Define action links
    *
-   * @return array self::$_links array of action links
+   *   self::$_links array of action links
    */
-  public function &links() {}
+  public function &links() {
+  }
 
   /**
    * Return class name of edit form
@@ -101,10 +102,13 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   /**
    * Make sure that the user has permission to access this group
    *
-   * @param int $id the id of the object
-   * @param int $title name or title of the object
+   * @param int $id
+   *   The id of the object.
+   * @param int $title
+   *   Name or title of the object.
    *
-   * @return string   the permission that the user has (or null)
+   * @return string
+   *   the permission that the user has (or null)
    */
   public function checkPermission($id, $title) {
     return CRM_Contact_BAO_Group::checkPermission($id, $title);
@@ -147,8 +151,7 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
   }
 
   public function search() {
-    if ($this->_action &
-      (CRM_Core_Action::ADD |
+    if ($this->_action & (CRM_Core_Action::ADD |
         CRM_Core_Action::UPDATE |
         CRM_Core_Action::DELETE
       )
@@ -162,4 +165,5 @@ class CRM_Group_Page_Group extends CRM_Core_Page_Basic {
     $form->process();
     $form->run();
   }
+
 }