public static function getFileSize($path, $skipCheck = false) {
return ($skipCheck || static::isFile($path)) ? filesize($path) : false;
}
.... and change to the following:
public static function getFileSize($path, $skipCheck = false) {
return ($skipCheck || static::isFile($path)) ? filesize($path) : 0;
}