spelling fix
authorEileen McNaughton <eileen@fuzion.co.nz>
Sat, 24 May 2014 04:59:17 +0000 (16:59 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Sat, 24 May 2014 05:49:06 +0000 (17:49 +1200)
CRM/Activity/BAO/ActivityAssignment.php
CRM/Core/Error.php
tests/phpunit/CiviTest/CiviSeleniumTestCase.php
tests/phpunit/WebTest/Contact/MergeContactsTest.php
tests/phpunit/WebTest/Contribute/ConfirmOptionalTest.php

index 9d93c74652f752fd4552781e86600eb2b05d4a53..df8d5d712627aa772312ce294f9c084acbe1fd8a 100644 (file)
@@ -74,7 +74,7 @@ class CRM_Activity_BAO_ActivityAssignment extends CRM_Activity_DAO_ActivityConta
    *
    * @internal param int $id ID of the activity
    *
-   * @return void
+   * @return array
    *
    * @access public
    */
index 05ec54b7878dd59800b624d4b8f171f82123011e..56ea895ceaeb1b9e6d8f3a702f9c2f36ff200c07 100644 (file)
@@ -121,7 +121,7 @@ class CRM_Core_Error extends PEAR_ErrorStack {
   }
 
   /**
-   * construcor
+   * constructor
    */
   function __construct() {
     parent::__construct('CiviCRM');
index dbf4add63ea6c070c406a1ef2db8cbf1cd929132..647517a8fee01ecce111d7e1f7ea70811c1eab2f 100644 (file)
@@ -875,7 +875,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
    * @param bool $isPcpApprovalNeeded
    * @param bool $isSeparatePayment
    * @param bool $honoreeSection
-   * @param bool $allowOtherAmmount
+   * @param bool $allowOtherAmount
    * @param bool $isConfirmEnabled
    * @param string $financialType
    * @param bool $fixedAmount
@@ -905,7 +905,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
                                       $isPcpApprovalNeeded = FALSE,
                                       $isSeparatePayment = FALSE,
                                       $honoreeSection = TRUE,
-                                      $allowOtherAmmount = TRUE,
+                                      $allowOtherAmount = TRUE,
                                       $isConfirmEnabled = TRUE,
                                       $financialType = 'Donation',
                                       $fixedAmount = TRUE,
@@ -1009,7 +1009,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
         $this->click("is_recur_interval");
         $this->click("is_recur_installments");
       }
-      if ($allowOtherAmmount) {
+      if ($allowOtherAmount) {
 
         $this->click('is_allow_other_amount');
 
@@ -1017,7 +1017,7 @@ class CiviSeleniumTestCase extends PHPUnit_Extensions_SeleniumTestCase {
         //$this->type('min_amount', $rand / 2);
         //$this->type('max_amount', $rand * 10);
       }
-      if ($fixedAmount || !$allowOtherAmmount) {
+      if ($fixedAmount || !$allowOtherAmount) {
         $this->type('label_1', "Label $hash");
         $this->type('value_1', "$rand");
       }
index 1154421b8a7d1df2603f03761a397dfa1a7db7ca..7e2247fa5862d1df387ba7ae1fde6dfb668b9b1b 100644 (file)
@@ -677,7 +677,7 @@ class WebTest_Contact_MergeContactsTest extends CiviSeleniumTestCase {
 
   /**
    * Helper FN
-   * to create new membershiptype
+   * to create new membership type
    */
   function addMembershipType($membershipOrganization) {
     $this->openCiviPage("admin/member/membershipType", "reset=1&action=browse");
index 40a085d119aa22962e63884a2a2abb22cee36f7f..8781657f6e7febeeaab8f7509adae8fa656cadf3 100644 (file)
@@ -91,7 +91,7 @@ class WebTest_Contribute_ConfirmOptionalTest extends CiviSeleniumTestCase {
       $isPcpApprovalNeeded = FALSE,
       $isSeparatePayment = FALSE,
       $honoreeSection = FALSE,
-      $allowOtherAmmount = TRUE,
+      $allowOtherAmount = TRUE,
       $isConfirmEnabled = $isConfirmEnabled
     );
   }