Skip to content

Commit

Permalink
Remove code
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmellor committed Aug 22, 2023
1 parent 28d492a commit 5683592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Scopes/ApprovalStateScope.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5683592

Please sign in to comment.