Merge pull request #22606 from colemanw/relationshipPseudoFields
[civicrm-core.git] / CRM / Utils / Type.php
index c53db4eda8b9890c6b945288688e23645f29fd94..9eb9702f016abcb03a221cfc8d02be3334d303bd 100644 (file)
@@ -334,11 +334,10 @@ class CRM_Utils_Type {
 
       default:
         throw new CRM_Core_Exception(
-          $type . " is not a recognised (camel cased) data type."
+          $type . " is not a recognized (camel cased) data type."
         );
     }
 
-    // @todo Use exceptions instead of CRM_Core_Error::fatal().
     if ($abort) {
       $data = htmlentities($data);
 
@@ -607,7 +606,7 @@ class CRM_Utils_Type {
   }
 
   /**
-   * Get list of avaliable Data Types for Option Groups
+   * Get list of available Data Types for Option Groups
    *
    * @return array
    */