Skip to content
Snippets Groups Projects
Commit ca2b56bc authored by Tibo's avatar Tibo
Browse files

fix phpstan

parent 14b8c10d
No related branches found
No related tags found
No related merge requests found
Pipeline #12778 passed
......@@ -27,11 +27,11 @@ class Partition
public function usedGB() : int
{
return round($this->used / 1E6);
return (int) round($this->used / 1E6);
}
public function sizeGB() : int
{
return round($this->blocks / 1E6);
return (int) round($this->blocks / 1E6);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment