增加 返回类型

This commit is contained in:
iVampireSP.com 2023-02-07 17:02:38 +08:00
parent dcce4a174f
commit 59dd162a95
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -9,7 +9,7 @@
class UserController extends Controller
{
public function index()
public function index(): JsonResponse
{
$users = (new User)->paginate(10);