File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ public function getSize()
7373 /**
7474 * Retrieve the file size by unit, calculated in IEC standards with 1024 as base value.
7575 *
76+ * @param FileSizeUnit $unit
77+ * @phpstan-param positive-int $precision
7678 * @return false|int|string
7779 */
7880 public function getSizeByUnitBinary (FileSizeUnit $ unit = FileSizeUnit::B, int $ precision = 3 )
@@ -83,6 +85,8 @@ public function getSizeByUnitBinary(FileSizeUnit $unit = FileSizeUnit::B, int $p
8385 /**
8486 * Retrieve the file size by unit, calculated in metric standards with 1000 as base value.
8587 *
88+ * @param FileSizeUnit $unit
89+ * @phpstan-param positive-int $precision
8690 * @return false|int|string
8791 */
8892 public function getSizeByUnitMetric (FileSizeUnit $ unit = FileSizeUnit::B, int $ precision = 3 )
You can’t perform that action at this time.
0 commit comments