style: Pint 포맷팅 적용

This commit is contained in:
김보곤
2026-02-25 11:45:01 +09:00
parent 68b1622a4e
commit 9a7c548246
199 changed files with 1420 additions and 1083 deletions

View File

@@ -76,14 +76,14 @@ public function getFormattedSizeAttribute(): string
$bytes = $this->file_size;
if ($bytes >= 1073741824) {
return number_format($bytes / 1073741824, 2) . ' GB';
return number_format($bytes / 1073741824, 2).' GB';
} elseif ($bytes >= 1048576) {
return number_format($bytes / 1048576, 2) . ' MB';
return number_format($bytes / 1048576, 2).' MB';
} elseif ($bytes >= 1024) {
return number_format($bytes / 1024, 2) . ' KB';
return number_format($bytes / 1024, 2).' KB';
}
return $bytes . ' bytes';
return $bytes.' bytes';
}
/**
@@ -123,7 +123,7 @@ public function existsInStorage(): bool
*/
public function getUrl(): ?string
{
if (!$this->existsInStorage()) {
if (! $this->existsInStorage()) {
return null;
}
@@ -135,7 +135,7 @@ public function getUrl(): ?string
*/
public function download()
{
if (!$this->existsInStorage()) {
if (! $this->existsInStorage()) {
abort(404, '파일을 찾을 수 없습니다.');
}