Merge pull request #5292 from jitendrapurohit/CRM-15933
[civicrm-core.git] / CRM / Utils / Constant.php
index 93bc65d9df978332488033fac7f734135842928a..ef698fb89e26b49810c6d87313db036c94a49604 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
+/**
+ * Class CRM_Utils_Constant
+ */
 class CRM_Utils_Constant {
 
   /**
    * Determine the value of a constant, if any.
-   * 
+   *
    * If the specified constant is undefined, return a default value.
    *
    * @param string $name
@@ -40,8 +43,10 @@ class CRM_Utils_Constant {
   public static function value($name, $default = NULL) {
     if (defined($name)) {
       return constant($name);
-    } else {
+    }
+    else {
       return $default;
     }
   }
+
 }