summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJustAMacUser <[email protected]>2020-09-18 18:13:18 -0400
committerJustAMacUser <[email protected]>2020-09-18 18:13:18 -0400
commitc8ac9dc7ea256119e6cfd4fa8cf1f50322f66709 (patch)
treef67ec66de6865b3fb50120eb7d9126b0f363a35a /lib
parent03a337a660a40263db0f3b5b5123cfa04f5c7505 (diff)
Remove `private` scope for class constants.
This change branches from the merged patch by Sunil Mohan Adapa's for Debian's package.
Diffstat (limited to 'lib')
-rw-r--r--lib/gettext/plurals.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gettext/plurals.php b/lib/gettext/plurals.php
index dbf912c37..332f5e97c 100644
--- a/lib/gettext/plurals.php
+++ b/lib/gettext/plurals.php
@@ -259,14 +259,14 @@ class PluralsParser {
* 0. However, ':' and ')' exist here to make sure that parsing does not
* proceed beyond them when they are not to be parsed.
*/
- private const PREC = [
+ const PREC = [
':' => -1, '?' => 0, '||' => 1, '&&' => 2, '==' => 3, '!=' => 3,
'>' => 4, '<' => 4, '>=' => 4, '<=' => 4, '+' => 5, '-' => 5, '*' => 6,
'/' => 6, '%' => 6, '!' => 7, '__END__' => -1, ')' => -1
];
// List of right associative operators
- private const RIGHT_ASSOC = ['?'];
+ const RIGHT_ASSOC = ['?'];
/**
* Constructor