Merge pull request #4961 from pratikshad/core-bugs
[civicrm-core.git] / CRM / Contribute / Page / Tab.php
index e65a9248120afb7942297900c7a07bfe2cd79d09..12a8f68c06d6c65d6116c8a2734b15d996aa5ded 100644 (file)
@@ -38,7 +38,6 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page {
    * The action links that we need to display for the browse screen
    *
    * @var array
-   * @static
    */
   static $_links = NULL;
   static $_recurLinks = NULL;
@@ -105,7 +104,6 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page {
   /**
    * called when action is browse
    *
-   * return null
    */
   public function browse() {
     // add annual contribution
@@ -201,7 +199,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page {
   /**
    * called when action is view
    *
-   * return null
+   * @return null
    */
   public function view() {
     $controller = new CRM_Core_Controller_Simple(
@@ -219,7 +217,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page {
   /**
    * called when action is update or new
    *
-   * return null
+   * @return null
    */
   public function edit() {
     // set https for offline cc transaction
@@ -253,7 +251,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page {
       if (empty($this->_contactId)) {
         $this->_contactId = civicrm_api3('contribution', 'getvalue', array(
             'id' => $this->_id,
-            'return' => 'contact_id'
+            'return' => 'contact_id',
           ));
       }
       $this->assign('contactId', $this->_contactId);
@@ -274,7 +272,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page {
    * the main function that is called when the page
    * loads, it decides the which action has to be taken for the page.
    *
-   * return null
+   * @return null
    */
   public function run() {
     $this->preProcess();