@@ -19,10 +19,10 @@ discard block |
||
| 19 | 19 | { |
| 20 | 20 | //<editor-fold desc="Fields"> |
| 21 | 21 | /** @var null|mixed[][] */ |
| 22 | - private static $constCacheArray = NULL; |
|
| 22 | + private static $constCacheArray = null; |
|
| 23 | 23 | |
| 24 | 24 | /** @var null|string[][] */ |
| 25 | - private static $constCacheArrayCaseMapping = NULL; |
|
| 25 | + private static $constCacheArrayCaseMapping = null; |
|
| 26 | 26 | //</editor-fold desc="Fields"> |
| 27 | 27 | |
| 28 | 28 | //<editor-fold desc="Public Methods"> |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | */ |
| 122 | 122 | private static function getCaseMapping(): array |
| 123 | 123 | { |
| 124 | - if (self::$constCacheArrayCaseMapping == NULL) { |
|
| 124 | + if (self::$constCacheArrayCaseMapping == null) { |
|
| 125 | 125 | self::$constCacheArrayCaseMapping = []; |
| 126 | 126 | } |
| 127 | 127 | $calledClass = get_called_class(); |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | */ |
| 142 | 142 | private static function getConstants(): array |
| 143 | 143 | { |
| 144 | - if (self::$constCacheArray == NULL) { |
|
| 144 | + if (self::$constCacheArray == null) { |
|
| 145 | 145 | self::$constCacheArray = []; |
| 146 | 146 | } |
| 147 | 147 | $calledClass = get_called_class(); |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | $this->duplicateName = $duplicateName; |
| 38 | 38 | $this->arrayName = $arrayName; |
| 39 | 39 | |
| 40 | - $message = "The $duplicateName $duplicateValue occurs twice in $arrayName"; |
|
| 40 | + $message = "the $duplicateName $duplicateValue occurs twice in $arrayName"; |
|
| 41 | 41 | parent::__construct($message, 409); |
| 42 | 42 | } |
| 43 | 43 | //</editor-fold desc="Constructor"> |