fix spelling errors & a couple of comment blocks
authorEileen McNaughton <eileen@fuzion.co.nz>
Sat, 24 May 2014 07:14:24 +0000 (19:14 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Sat, 24 May 2014 09:32:44 +0000 (21:32 +1200)
CRM/Core/BAO/CMSUser.php
CRM/Core/BAO/EntityTag.php
CRM/Core/BAO/Extension.php
CRM/Core/BAO/FinancialTrxn.php
CRM/Core/BAO/Setting.php
CRM/Core/BAO/UFGroup.php
CRM/Core/Error.php
CRM/Core/Lock.php
CRM/Core/Permission/DrupalBase.php
CRM/Core/Smarty.php
CRM/Core/StateMachine.php

index ee2df9055257fe73fa533997ca895ed8a33ce3c8..4c08c1fbf13b4b1373757dd5ef38f9a6cbc61e64 100644 (file)
@@ -260,7 +260,7 @@ class CRM_Core_BAO_CMSUser {
    * @param object $form
    * @param integer $gid id of group of profile
    * @param bool $emailPresent true if the profile field has email(primary)
-   * @param const $action
+   * @param \const|int $action
    *
    * @return FALSE|void WTF
    *
index 45fb90e2d9266c2169c31d37fe365221a615428b..0b242ff87a9c075414e9616d26047b8e85499147 100644 (file)
@@ -44,7 +44,7 @@ class CRM_Core_BAO_EntityTag extends CRM_Core_DAO_EntityTag {
    * @param string $entityTable name of the entity table usually 'civicrm_contact'
    *
    * @return array(
-     ) reference $tag array of catagory id's the contact belongs to.
+     ) reference $tag array of category id's the contact belongs to.
    *
    * @access public
    * @static
index dfac8653d685bb0ad424eea5cc7d6c4ca7c349f5..81d902a627c2c55d03b388e290fcd0e88aa022f7 100644 (file)
@@ -49,7 +49,7 @@ class CRM_Core_BAO_Extension extends CRM_Core_DAO_Extension {
    * @param array $params   (reference ) an assoc array of name/value pairs
    * @param array $defaults (reference ) an assoc array to hold the flattened values
    *
-   * @return object CRM_Core_BAO_LocaationType object on success, null otherwise
+   * @return object CRM_Core_BAO_LocationType object on success, null otherwise
    * @access public
    * @static
    */
index f7f2e077cb5772415c5b3c4986bb036c2e5b83d3..7008bf9607d6447ee964d671aefd9b53de32b8e1 100644 (file)
@@ -155,7 +155,7 @@ class CRM_Core_BAO_FinancialTrxn extends CRM_Financial_DAO_FinancialTrxn {
    *
    * @internal param string $entityTable name of the entity table usually 'civicrm_contact'
    * @internal param int $entityID id of the entity usually the contactID.
-   * @return array( ) reference $tag array of catagory id's the contact belongs to.
+   * @return array( ) reference $tag array of category id's the contact belongs to.
    *
    * @access public
    * @static
index e81110dc10a5a9fef9f79fc5054b329a40d5a2c2..98d88b0b2b9d92cda1f35897e7e5331cda6b6821 100644 (file)
@@ -67,7 +67,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting {
    *
    * @param string $group (required) The group name of the item
    * @param string $name (required) The name of the setting
-   * @param int $componentID The optional component ID (so componenets can share the same name space)
+   * @param int $componentID The optional component ID (so components can share the same name space)
    * @param int $contactID If set, this is a contactID specific setting, else its a global setting
    * @param bool|int $load if true, load from local cache (typically memcache)
    *
index 4ad97b78ab24433fc9cc83dd61956aa41eb52467..68996800464f7e200e8529ffeb7d0cd780ca768a 100644 (file)
@@ -3456,7 +3456,7 @@ SELECT  group_id
   }
 
   /**
-   * Funtion to determine of we show overlay profile or not
+   * Function to determine of we show overlay profile or not
    *
    * @return boolean true if profile should be shown else false
    * @static
index 56ea895ceaeb1b9e6d8f3a702f9c2f36ff200c07..a1c196578ddfe7e7772334e7ca7afecd1104af91 100644 (file)
@@ -57,9 +57,13 @@ class CRM_Exception extends PEAR_Exception {
    *  - PEAR_Exception(string $message, PEAR_Error $cause, int $code);
    *  - PEAR_Exception(string $message, array $causes);
    *  - PEAR_Exception(string $message, array $causes, int $code);
+   *
    * @param string exception message
-   * @param int|Exception|PEAR_Error|array|null exception cause
-   * @param int|null exception code or null
+   * @param int $code
+   * @param Exception $previous
+   *
+   * @internal param array|\Exception|int|null|\PEAR_Error $exception cause
+   * @internal param int|null $exception code or null
    */
   public function __construct($message = NULL, $code = 0, Exception$previous = NULL) {
     parent::__construct($message, $code, $previous);
index 82d9ddb577beeeae9afa3bf1aa7cd3f0e7cb7be8..e1482c444031afba78a929bacfc76d9c5a498e9c 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Core_Lock {
    *                      e.g. civimail.cronjob.JOB_ID
    * @param int $timeout the number of seconds to wait to get the lock. 1 if not set
    * @param boolean $serverWideLock should this lock be applicable across your entire mysql server
-   *                                this is useful if you have mutliple sites running on the same
+   *                                this is useful if you have multiple sites running on the same
    *                                mysql server and you want to limit the number of parallel cron
    *                                jobs - CRM-91XX
    *
index 4991d1349990b63fa6b6485b61c3e287dd323a30..1030904ae4370d83faa4ab0c0e71a9db492e8b4e 100644 (file)
@@ -66,7 +66,7 @@ class CRM_Core_Permission_DrupalBase extends CRM_Core_Permission_Base {
    * for this user
    *
    * @param string $groupType type of group(Access/Mailing)
-   * @param bool|\boolen $excludeHidden exclude hidden groups.
+   * @param bool $excludeHidden exclude hidden groups.
    *
    * @access public
    *
index 1c7d6875dbbd5d18b524c7bcbb38d5c68c1536ee..a29d2e231f238c616233fb98e5ce4a991f37c9da 100644 (file)
@@ -48,7 +48,7 @@ class CRM_Core_Smarty extends Smarty {
   CONST
     // use print.tpl and bypass the CMS. Civi prints a valid html file
     PRINT_PAGE = 1,
-    // this and all the below bypasses the CMS html surronding it and assumes we will embed this within other pages
+    // this and all the below bypasses the CMS html surrounding it and assumes we will embed this within other pages
     PRINT_SNIPPET = 2,
     // sends the generated html to the chosen pdf engine
     PRINT_PDF = 3,
index 0e4d57cc3da4775aad1e88a142dcde3d747585ea..b1cd60f6201c0509b761b5c4377fe4b98a946ac7 100644 (file)
@@ -87,7 +87,7 @@ class CRM_Core_StateMachine {
    *
    * @param object $controller the controller for this state machine
    *
-   * @param const $action
+   * @param \const|int $action
    *
    * @return \CRM_Core_StateMachine
   @access public