Merge pull request #4949 from eileenmcnaughton/minor-tidies
[civicrm-core.git] / CRM / Pledge / Page / Tab.php
index 83f28780477b67945cb7788c58ad76ddb3afaec1..f0480a0e5f9fff9a09af5ef22b9b1fd9efbfabd9 100644 (file)
@@ -39,7 +39,7 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page {
   /**
    * called when action is browse
    *
-   * return null
+   * @return null
    */
   public function browse() {
     $controller = new CRM_Core_Controller_Simple('CRM_Pledge_Form_Search', ts('Pledges'), $this->_action);
@@ -66,7 +66,7 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page {
   /**
    * called when action is view
    *
-   * return null
+   * @return null
    */
   public function view() {
     $controller = new CRM_Core_Controller_Simple('CRM_Pledge_Form_PledgeView',
@@ -83,7 +83,7 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page {
   /**
    * called when action is update or new
    *
-   * return null
+   * @return null
    */
   public function edit() {
     $controller = new CRM_Core_Controller_Simple('CRM_Pledge_Form_Pledge',
@@ -98,9 +98,9 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page {
   }
 
   public function preProcess() {
-    $context       = CRM_Utils_Request::retrieve('context', 'String', $this);
+    $context = CRM_Utils_Request::retrieve('context', 'String', $this);
     $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'browse');
-    $this->_id     = CRM_Utils_Request::retrieve('id', 'Positive', $this);
+    $this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this);
 
     if ($context == 'standalone') {
       $this->_action = CRM_Core_Action::ADD;
@@ -125,7 +125,7 @@ class CRM_Pledge_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();