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

+2-2
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)