Update src/Util/Strings.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
6c73077bbc
commit
ce56cabd9f
|
@ -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.
|
* 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 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:
|
* @see https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
|
||||||
* https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
|
|
||||||
* @param string $shorthand
|
* @param string $shorthand
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user