Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix coding standard error.

  • Loading branch information...
commit e5503326ac4acbc8e230ffef2848bc963c97758b 1 parent eed59a9
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Utility/CakeNumber.php
View
2  lib/Cake/Utility/CakeNumber.php
@@ -117,7 +117,7 @@ public static function fromReadableSize($size, $default = false) {
$i = array_search(substr($size, -2), array('KB', 'MB', 'GB', 'TB', 'PB'));
if ($i !== false) {
- $size = substr($size, 0, strlen($size) -2);
+ $size = substr($size, 0, strlen($size) - 2);
return $size * pow(1024, $i + 1);
}
Please sign in to comment.
Something went wrong with that request. Please try again.