File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public function prunable(): Builder
9595 protected function downloadBits (): Attribute
9696 {
9797 return Attribute::make (
98- get: fn (): ?string => ! blank ($ this ->download ) && is_numeric ($ this ->download )
98+ get: fn (): ?int => ! blank ($ this ->download ) && is_numeric ($ this ->download )
9999 ? number_format (num: $ this ->download * 8 , decimals: 0 , thousands_separator: '' )
100100 : null ,
101101 );
@@ -207,7 +207,7 @@ protected function serverName(): Attribute
207207 protected function uploadBits (): Attribute
208208 {
209209 return Attribute::make (
210- get: fn (): ?string => ! blank ($ this ->upload ) && is_numeric ($ this ->upload )
210+ get: fn (): ?int => ! blank ($ this ->upload ) && is_numeric ($ this ->upload )
211211 ? number_format (num: $ this ->upload * 8 , decimals: 0 , thousands_separator: '' )
212212 : null ,
213213 );
You can’t perform that action at this time.
0 commit comments