Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid74 committed Feb 12, 2024
1 parent 71c832f commit ded9543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FileHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static function getFileExtOnly(?string $sFilename = '', string $default =
*
* Конвертация размера файла в удобный для чтения формат.
*
* @param mixed|null $bytes
* @param mixed $bytes
* @param int $decimals
*
* @return string human readable file size (2.87 MB)
Expand All @@ -71,7 +71,7 @@ public static function getFileExtOnly(?string $sFilename = '', string $default =
*
* @edit Leonid Sheikman <[email protected]>
*/
public static function getHumanFileSize(?mixed $bytes, int $decimals = 2): string
public static function getHumanFileSize(mixed $bytes, int $decimals = 2): string
{
if (null === $bytes) {
return '0';
Expand Down

0 comments on commit ded9543

Please sign in to comment.