Skip to content

Commit 8afbd8c

Browse files
author
Yevhen Miroshnychenko
committed
MC-19421: Reduce q-ty of Reports Created in /app/*/var/report
1 parent 091eb7b commit 8afbd8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pub/errors/processor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ private function getReportDirNestingLevel(string $reportId): int
629629
*/
630630
private function getMaxReportDirNestingLevel(string $reportId): int
631631
{
632-
return (integer)floor(mb_strlen($reportId) / self::NUMBER_SYMBOLS_IN_SUBDIR_NAME);
632+
return (int)floor(strlen($reportId) / self::NUMBER_SYMBOLS_IN_SUBDIR_NAME);
633633
}
634634

635635
/**

0 commit comments

Comments
 (0)