Update src/Util/Strings.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
MarekBenjamin 2022-11-26 23:12:46 +01:00 committed by GitHub
parent 6c73077bbc
commit ce56cabd9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,8 +519,7 @@ class Strings
/**
* This function converts a PHP's shorhand notation string for file sizes in to an integer number of total bytes.
* For example: The string for shorthand notation of '2M' (which is 2,097,152 Bytes) is converted to 2097152
* For more information about file size shorhand notation see:
* https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
* @see https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
* @param string $shorthand
* @return int
*/