Skip to content

Commit daf7e36

Browse files
committed
style: fix code style issues with pint
1 parent 7262907 commit daf7e36

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎src/Infolists/Components/FileViewEntry.php‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,17 +309,17 @@ public function canPreviewInBrowser(string $path): bool
309309
public function getFileIcon(string $fileType, ?string $extension = null): string
310310
{
311311
$customIcons = $this->getCustomIcons();
312-
312+
313313
// Check for custom icon by extension first
314314
if ($extension && isset($customIcons[$extension])) {
315315
return $customIcons[$extension];
316316
}
317-
317+
318318
// Check for custom icon by file type
319319
if (isset($customIcons[$fileType])) {
320320
return $customIcons[$fileType];
321321
}
322-
322+
323323
return match ($fileType) {
324324
'image' => 'heroicon-o-photo',
325325
'video' => 'heroicon-o-video-camera',
@@ -355,6 +355,6 @@ public function formatFileSize(int $bytes): string
355355
$unitIndex++;
356356
}
357357

358-
return round($bytes, 2) . ' ' . $units[$unitIndex];
358+
return round($bytes, 2).' '.$units[$unitIndex];
359359
}
360360
}

0 commit comments

Comments
 (0)