X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FType.php;h=9eb9702f016abcb03a221cfc8d02be3334d303bd;hb=b0aca9b6e08b58fc4c69977a124b5af866d6990b;hp=c53db4eda8b9890c6b945288688e23645f29fd94;hpb=55438cdf9962448a16659d4ba35b51411418a6c6;p=civicrm-core.git diff --git a/CRM/Utils/Type.php b/CRM/Utils/Type.php index c53db4eda8..9eb9702f01 100644 --- a/CRM/Utils/Type.php +++ b/CRM/Utils/Type.php @@ -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 */