Completed
Branch master (0dfbed)
by Benedikt
07:50
created
src/Helpers/BasicEnum.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Exceptions/DuplicateException.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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">
Please login to merge, or discard this patch.