Jordi Boggiano 1 yıl önce
ebeveyn
işleme
b92508d0d7
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/Monolog/Utils.php

+ 1 - 1
src/Monolog/Utils.php

@@ -249,7 +249,7 @@ final class Utils
         }
 
         $val = (int) $match['val'];
-        switch (strtolower($match['unit'] ?? '')) {
+        switch (strtolower($match['unit'])) {
             case 'g':
                 $val *= 1024;
             case 'm':