Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
krissss authored Mar 9, 2023
1 parent 700ab6d commit 9878b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Objects/FileObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function getModifyAtForHumans(): string

public function getSizeKB(): int
{
return round($this->file->getSize() / 1024, 2);
return intval($this->file->getSize() / 1024);
}

public function getSizeForHumans(): string
Expand Down

0 comments on commit 9878b63

Please sign in to comment.