The expression return pathinfo($path, T...ary\PATHINFO_EXTENSION) could return the type array which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
Loading history...
19
}
20
21
public static function getHumanReadableSize(int $sizeInBytes): string