structure and style updates
This commit is contained in:
@@ -57,13 +57,13 @@ class DocumentationAttachment extends Model
|
||||
}
|
||||
|
||||
if ($bytes < 1024) {
|
||||
return $bytes . ' B';
|
||||
return $bytes.' B';
|
||||
}
|
||||
|
||||
if ($bytes < 1048576) {
|
||||
return number_format($bytes / 1024, 1) . ' KB';
|
||||
return number_format($bytes / 1024, 1).' KB';
|
||||
}
|
||||
|
||||
return number_format($bytes / 1048576, 1) . ' MB';
|
||||
return number_format($bytes / 1048576, 1).' MB';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user