Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX File::ini2bytes() is now declared as static, as it was never an

instance method
  • Loading branch information...
commit a9f95051bc902a6722a84b7a5a10aa9ce11d23c2 1 parent 4c1aba8
@halkyon halkyon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  filesystem/File.php
View
2  filesystem/File.php
@@ -796,7 +796,7 @@ public static function format_size($size) {
* @param string $phpIniValue
* @return int
*/
- public function ini2bytes($PHPiniValue) {
+ public static function ini2bytes($PHPiniValue) {
switch(strtolower(substr(trim($PHPiniValue), -1))) {
case 'g':
$PHPiniValue *= 1024;
Please sign in to comment.
Something went wrong with that request. Please try again.