Merge pull request #15699 from mattwire/participant_cleanup_completeOrderPBRef
[civicrm-core.git] / CRM / Utils / EnglishNumber.php
index 48e50ab4214cdabc0a5fed4ae58105657987bc7d..65f21390af80e2d3697f8d863f2707348d0dd595 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2019                                |
+ | Copyright CiviCRM LLC (c) 2004-2020                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2019
+ * @copyright CiviCRM LLC (c) 2004-2020
  * $Id$
  *
  * Utilities for rendering numbers as English.
@@ -38,7 +38,7 @@
  */
 class CRM_Utils_EnglishNumber {
 
-  protected static $lowNumbers = array(
+  protected static $lowNumbers = [
     'Zero',
     'One',
     'Two',
@@ -59,9 +59,9 @@ class CRM_Utils_EnglishNumber {
     'Seventeen',
     'Eighteen',
     'Nineteen',
-  );
+  ];
 
-  protected static $intervalsOfTen = array(
+  protected static $intervalsOfTen = [
     9 => 'Ninety',
     8 => 'Eighty',
     7 => 'Seventy',
@@ -70,7 +70,7 @@ class CRM_Utils_EnglishNumber {
     4 => 'Forty',
     3 => 'Thirty',
     2 => 'Twenty',
-  );
+  ];
 
   /**
    * @param int $num