Merge pull request #5182 from colemanw/Cleanup
[civicrm-core.git] / tests / phpunit / CiviTest / ContributionPage.php
index 3f600ebe8e6e1b923803b14e45d7fe836c4c7288..7c1cc1930b25d797ee5b49e29b84f9d96cf14680 100644 (file)
@@ -5,12 +5,13 @@
  */
 class ContributionPage extends PHPUnit_Framework_Testcase {
   /**
-   * Helper function to create
+   * Helper function to create.
    * a Contribution Page
    *
    * @param int $id
    *
-   * @return mixed $contributionPage id of created Contribution Page
+   * @return int
+   *   id of created Contribution Page
    */
   public static function create($id = NULL) {
     require_once "CRM/Contribute/BAO/ContributionPage.php";
@@ -39,12 +40,12 @@ class ContributionPage extends PHPUnit_Framework_Testcase {
   }
 
   /**
-   * Helper function to delete a Contribution Page
+   * Helper function to delete a Contribution Page.
    *
    * @param int $contributionPageId
    *   Id of the Contribution Page.
-   * to be deleted
-   * @return boolean
+   *   to be deleted
+   * @return bool
    *   true if Contribution Page deleted, false otherwise
    */
   public static function delete($contributionPageId) {
@@ -56,4 +57,5 @@ class ContributionPage extends PHPUnit_Framework_Testcase {
     }
     return $result;
   }
+
 }