projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(NFC) (dev/core#878) Simplify '@copyright' annotation
[civicrm-core.git]
/
CRM
/
Core
/
I18n
/
PseudoConstant.php
diff --git
a/CRM/Core/I18n/PseudoConstant.php
b/CRM/Core/I18n/PseudoConstant.php
index 1f0bf714f063520141fb6a3c6607a1514ba142a2..2e7b731c338a90f238f2f0fc5f6170b3da80b8d7 100644
(file)
--- a/
CRM/Core/I18n/PseudoConstant.php
+++ b/
CRM/Core/I18n/PseudoConstant.php
@@
-3,7
+3,7
@@
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-20
18
|
+ | Copyright CiviCRM LLC (c) 2004-20
20
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC
(c) 2004-2018
+ * @copyright CiviCRM LLC
https://civicrm.org/licensing
* $Id$
*
*/
* $Id$
*
*/
@@
-50,10
+50,10
@@
class CRM_Core_I18n_PseudoConstant {
public static function &longForShortMapping() {
static $longForShortMapping = NULL;
if ($longForShortMapping === NULL) {
public static function &longForShortMapping() {
static $longForShortMapping = NULL;
if ($longForShortMapping === NULL) {
- $rows =
array()
;
- CRM_Core_OptionValue::getValues(
array('name' => 'languages')
, $rows);
+ $rows =
[]
;
+ CRM_Core_OptionValue::getValues(
['name' => 'languages']
, $rows);
- $longForShortMapping =
array()
;
+ $longForShortMapping =
[]
;
foreach ($rows as $row) {
$longForShortMapping[$row['value']] = $row['name'];
}
foreach ($rows as $row) {
$longForShortMapping[$row['value']] = $row['name'];
}
@@
-84,12
+84,12
@@
class CRM_Core_I18n_PseudoConstant {
* @return array
*/
public static function getRTLlanguages() {
* @return array
*/
public static function getRTLlanguages() {
- $rtl =
array(
+ $rtl =
[
'ar',
'fa',
'he',
'ur',
'ar',
'fa',
'he',
'ur',
-
)
;
+
]
;
return $rtl;
}
return $rtl;
}