@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | /** |
10 | 10 | * @var array $units |
11 | 11 | */ |
12 | - private $units = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"]; |
|
12 | + private $units = [ "Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB" ]; |
|
13 | 13 | |
14 | 14 | /** |
15 | 15 | * @var integer $power |
@@ -55,6 +55,6 @@ discard block |
||
55 | 55 | */ |
56 | 56 | public function __toString() |
57 | 57 | { |
58 | - return $this->getValue() ? $this->power() . ' ' . $this->getUnit() : '0 bytes'; |
|
58 | + return $this->getValue() ? $this->power().' '.$this->getUnit() : '0 bytes'; |
|
59 | 59 | } |
60 | 60 | } |