Skip to content

Commit

Permalink
fix: 修复pr里的一个bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Sep 4, 2023
1 parent 76ea1af commit 9afda22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MineFormRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function callNextFunction(?string $prefix, string $function): array
return [];
}
$callName = $prefix . ucfirst($function);
return method_exists($this,$function) ? \Hyperf\Support\call([$this,$callName]) : [];
return method_exists($this, $callName) ? \Hyperf\Support\call([$this, $callName]) : [];
}

protected function getAction(): ?string
Expand Down

0 comments on commit 9afda22

Please sign in to comment.