File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 22
33namespace Rakutentech \LaravelRequestDocs \Tests \Stubs \TestControllers ;
44
5- use Rakutentech \LaravelRequestDocs \Tests \Stubs \TestRequests \CommentsOnRulesRequest ;
5+ use Rakutentech \LaravelRequestDocs \Tests \Stubs \TestRequests \CommentsOnRequestRulesMethodRequest ;
66
7- class CommentsOnRulesController
7+ class CommentsOnRequestRulesMethodController
88{
99 /**
1010 * Before
@@ -24,7 +24,7 @@ class CommentsOnRulesController
2424 *
2525 * After
2626 */
27- public function index (CommentsOnRulesRequest $ request )
27+ public function index (CommentsOnRequestRulesMethodRequest $ request )
2828 {
2929 return 1 ;
3030 }
Original file line number Diff line number Diff line change 44
55use Illuminate \Foundation \Http \FormRequest ;
66
7- class CommentsOnRulesRequest extends FormRequest
7+ class CommentsOnRequestRulesMethodRequest extends FormRequest
88{
99 /**
1010 * Get the validation rules that apply to the request.
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function registerRoutes()
4343 Route::get ('health ' , [TestControllers \WelcomeController::class, 'health ' ]);
4444 Route::get ('single ' , TestControllers \SingleActionController::class);
4545 Route::delete ('welcome/no-rules ' , [TestControllers \WelcomeController::class, 'noRules ' ]);
46- Route::post ('comments-on-rules-method ' , [TestControllers \CommentsOnRulesController ::class, 'index ' ]);
46+ Route::post ('comments-on-request- rules-method ' , [TestControllers \CommentsOnRequestRulesMethodController ::class, 'index ' ]);
4747
4848 Route::get ('closure ' , function () {
4949 return true ;
Original file line number Diff line number Diff line change 457457 ]
458458 },
459459 {
460- "uri" : " comments-on-rules-method" ,
460+ "uri" : " comments-on-request- rules-method" ,
461461 "middlewares" : [],
462- "controller" : " CommentsOnRulesController " ,
463- "controller_full_path" : " Rakutentech\\ LaravelRequestDocs\\ Tests\\ Stubs\\ TestControllers\\ CommentsOnRulesController " ,
462+ "controller" : " CommentsOnRequestRulesMethodController " ,
463+ "controller_full_path" : " Rakutentech\\ LaravelRequestDocs\\ Tests\\ Stubs\\ TestControllers\\ CommentsOnRequestRulesMethodController " ,
464464 "method" : " index" ,
465465 "http_method" : " POST" ,
466466 "path_parameters" : [],
You can’t perform that action at this time.
0 commit comments