We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4b77e3 commit 5cd3761Copy full SHA for 5cd3761
src/LaravelCsvManager.php
@@ -7,11 +7,11 @@ class LaravelCsvManager
7
/**
8
* Get the given size and formated it.
9
*
10
- * @param int $number
+ * @param int $size
11
* @param int $precision
12
- * @return string
+ * @return string|int
13
*/
14
- public function formatFileSize(int $size, int $precision = 2): string
+ public function formatFileSize(int $size, int $precision = 2): string|int
15
{
16
if ($size <= 0) {
17
return $size;
0 commit comments