Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit56fbff8

Browse files
committed
fix return type
1 parentdb93247 commit56fbff8

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-
publicfunctionpercentageComplete():int
35+
publicfunctionpercentageComplete():int|float
3636
{
3737
returnfloor(($this->processed_rows /$this->total_rows) *100);
3838
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp