整理函数 & 格式化代码
This commit is contained in:
parent
10a7df704c
commit
85c4f22ed4
@ -26,7 +26,6 @@ public function index(): View
|
||||
* Store a newly created resource in storage.
|
||||
*
|
||||
* @param Request $request
|
||||
*
|
||||
* @return View
|
||||
*/
|
||||
public function store(Request $request): View
|
||||
@ -56,7 +55,6 @@ public function create(): View
|
||||
* Display the specified resource.
|
||||
*
|
||||
* @param Application $application
|
||||
*
|
||||
* @return RedirectResponse
|
||||
*/
|
||||
public function show(Application $application): RedirectResponse
|
||||
@ -68,7 +66,6 @@ public function show(Application $application): RedirectResponse
|
||||
* Show the form for editing the specified resource.
|
||||
*
|
||||
* @param Application $application
|
||||
*
|
||||
* @return View
|
||||
*/
|
||||
public function edit(Application $application): View
|
||||
@ -81,7 +78,6 @@ public function edit(Application $application): View
|
||||
*
|
||||
* @param Request $request
|
||||
* @param Application $application
|
||||
*
|
||||
* @return RedirectResponse
|
||||
*/
|
||||
public function update(Request $request, Application $application): RedirectResponse
|
||||
@ -101,7 +97,6 @@ public function update(Request $request, Application $application): RedirectResp
|
||||
* Remove the specified resource from storage.
|
||||
*
|
||||
* @param Application $application
|
||||
*
|
||||
* @return RedirectResponse
|
||||
*/
|
||||
public function destroy(Application $application): RedirectResponse
|
||||
|
@ -18,7 +18,6 @@ class TaskController extends Controller
|
||||
* Display a listing of the resource.
|
||||
*
|
||||
* @param Request $request
|
||||
*
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function index(Request $request): JsonResponse
|
||||
@ -32,7 +31,6 @@ public function index(Request $request): JsonResponse
|
||||
* Store a newly created resource in storage.
|
||||
*
|
||||
* @param Request $request
|
||||
*
|
||||
* @return JsonResponse
|
||||
*
|
||||
* @throws ValidationException
|
||||
@ -55,7 +53,6 @@ public function store(Request $request): JsonResponse
|
||||
*
|
||||
* @param Request $request
|
||||
* @param Task $task
|
||||
*
|
||||
* @return JsonResponse
|
||||
*
|
||||
* @throws ValidationException
|
||||
|
@ -111,7 +111,6 @@ private function getResponse(Response $response): array
|
||||
* @param $path
|
||||
* @param $requests
|
||||
* @param array $files
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function request($method, $path, $requests, array $files = []): array
|
||||
@ -207,7 +206,6 @@ public function calculate(): array
|
||||
* @param string|null $description
|
||||
* @param bool $fail
|
||||
* @param array $options
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function reduce(string|null $amount = '0', string|null $description = '消费', bool $fail = false, array $options = []): string
|
||||
@ -255,7 +253,6 @@ public function reduce(string|null $amount = '0', string|null $description = '
|
||||
* @param string $payment
|
||||
* @param string|null $description
|
||||
* @param array $options
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function charge(string|null $amount = '0', string $payment = 'console', string|null $description = '充值', array $options = []): string
|
||||
|
Loading…
Reference in New Issue
Block a user