Skip to content

Commit 5cd3761

Browse files
committed
static analysis
1 parent f4b77e3 commit 5cd3761

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/LaravelCsvManager.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ class LaravelCsvManager
77
/**
88
* Get the given size and formated it.
99
*
10-
* @param int $number
10+
* @param int $size
1111
* @param int $precision
12-
* @return string
12+
* @return string|int
1313
*/
14-
public function formatFileSize(int $size, int $precision = 2): string
14+
public function formatFileSize(int $size, int $precision = 2): string|int
1515
{
1616
if ($size <= 0) {
1717
return $size;

0 commit comments

Comments
 (0)