Merge pull request #9894 from JKingsnorth/CRM-20175
[civicrm-core.git] / CRM / Utils / Number.php
index d1858b3857eea3af7ff67e6157375356b46906a2..2b8c063cd585916a4633d06ab6816d6478478d21 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -27,7 +27,7 @@
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
+ * @copyright CiviCRM LLC (c) 2004-2017
  */
 
 /**
@@ -79,6 +79,11 @@ class CRM_Utils_Number {
 
   /**
    * Some kind of numbery-looky-printy thing.
+   *
+   * @param string $size
+   * @param bool $checkForPostMax
+   *
+   * @return int
    */
   public static function formatUnitSize($size, $checkForPostMax = FALSE) {
     if ($size) {