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 db93247 commit 56fbff8Copy full SHA for 56fbff8
src/Scopes/ImportScope.php
@@ -30,9 +30,9 @@ public function scopeUnCompleted(Builder $builder): Builder
30
/**
31
* Get the percentage of the model completion
32
*
33
- * @return int
+ * @return int|float
34
*/
35
- public function percentageComplete(): int
+ public function percentageComplete(): int|float
36
{
37
return floor(($this->processed_rows / $this->total_rows) * 100);
38
}
0 commit comments