Skip to content

Commit 012a92c

Browse files
committed
Fix return value
1 parent 412e64c commit 012a92c

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

tests/Stubs/TestControllers/API/Group1Controller.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,38 +12,38 @@ class Group1Controller
1212
*/
1313
public function index(): Response
1414
{
15-
return response();
15+
return response('content');
1616
}
1717

1818
/**
1919
* Store a newly created resource in storage.
2020
*/
2121
public function store(Request $request): Response
2222
{
23-
return response();
23+
return response('content');
2424
}
2525

2626
/**
2727
* Display the specified resource.
2828
*/
2929
public function show(string $id): Response
3030
{
31-
return response();
31+
return response('content');
3232
}
3333

3434
/**
3535
* Update the specified resource in storage.
3636
*/
3737
public function update(Request $request, string $id): Response
3838
{
39-
return response();
39+
return response('content');
4040
}
4141

4242
/**
4343
* Remove the specified resource from storage.
4444
*/
4545
public function destroy(string $id): Response
4646
{
47-
return response();
47+
return response('content');
4848
}
4949
}

tests/Stubs/TestControllers/API/Group2Controller.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,38 +12,38 @@ class Group2Controller
1212
*/
1313
public function index(): Response
1414
{
15-
return response();
15+
return response('content');
1616
}
1717

1818
/**
1919
* Store a newly created resource in storage.
2020
*/
2121
public function store(Request $request): Response
2222
{
23-
return response();
23+
return response('content');
2424
}
2525

2626
/**
2727
* Display the specified resource.
2828
*/
2929
public function show(string $id): Response
3030
{
31-
return response();
31+
return response('content');
3232
}
3333

3434
/**
3535
* Update the specified resource in storage.
3636
*/
3737
public function update(Request $request, string $id): Response
3838
{
39-
return response();
39+
return response('content');
4040
}
4141

4242
/**
4343
* Remove the specified resource from storage.
4444
*/
4545
public function destroy(string $id): Response
4646
{
47-
return response();
47+
return response('content');
4848
}
4949
}

tests/Stubs/TestControllers/AccountController.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,38 +12,38 @@ class AccountController
1212
*/
1313
public function index(): Response
1414
{
15-
return response();
15+
return response('content');
1616
}
1717

1818
/**
1919
* Store a newly created resource in storage.
2020
*/
2121
public function store(Request $request): Response
2222
{
23-
return response();
23+
return response('content');
2424
}
2525

2626
/**
2727
* Display the specified resource.
2828
*/
2929
public function show(string $id): Response
3030
{
31-
return response();
31+
return response('content');
3232
}
3333

3434
/**
3535
* Update the specified resource in storage.
3636
*/
3737
public function update(Request $request, string $id): Response
3838
{
39-
return response();
39+
return response('content');
4040
}
4141

4242
/**
4343
* Remove the specified resource from storage.
4444
*/
4545
public function destroy(string $id): Response
4646
{
47-
return response();
47+
return response('content');
4848
}
4949
}

0 commit comments

Comments
 (0)