diff --git a/src/Scopes/ApprovalStateScope.php b/src/Scopes/ApprovalStateScope.php index f09a9e7..6b99c90 100644 --- a/src/Scopes/ApprovalStateScope.php +++ b/src/Scopes/ApprovalStateScope.php @@ -90,7 +90,7 @@ protected function addRejected(Builder $builder): void */ protected function addApprove(Builder $builder): void { - $builder->macro('approve', function (Builder $builder, bool $persist = true, $callback = null): int { + $builder->macro('approve', function (Builder $builder, bool $persist = true): int { if ($persist) { $modelClass = $builder->getModel()->approvalable_type;