Browse files

Fix coding standard error.

  • Loading branch information...
1 parent eed59a9 commit e5503326ac4acbc8e230ffef2848bc963c97758b @markstory markstory committed Sep 27, 2012
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);
}

0 comments on commit e550332

Please sign in to comment.