X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FType.php;h=9eb9702f016abcb03a221cfc8d02be3334d303bd;hb=6618a018a85af6394e1c1e5319ee70f86f43133a;hp=c53db4eda8b9890c6b945288688e23645f29fd94;hpb=f01582a07cfe8a8377055c75f6843a081db249b9;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 */