Skip to content

Commit 56fbff8

Browse files
committed
fix return type
1 parent db93247 commit 56fbff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Scopes/ImportScope.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ public function scopeUnCompleted(Builder $builder): Builder
3030
/**
3131
* Get the percentage of the model completion
3232
*
33-
* @return int
33+
* @return int|float
3434
*/
35-
public function percentageComplete(): int
35+
public function percentageComplete(): int|float
3636
{
3737
return floor(($this->processed_rows / $this->total_rows) * 100);
3838
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy