File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -463,7 +463,7 @@ public function actionAcceptInvitation()
463463 #[Path("a " , new VInt ())]
464464 #[Query("b " , new VEmail ())]
465465 #[Post("c " , new VDouble ())]
466- public function actionTestLoose ()
466+ public function actionTestLoose (int $ a , ? string $ b )
467467 {
468468 $ this ->sendSuccessResponse ("OK " );
469469 }
@@ -475,7 +475,7 @@ public function actionTestLoose()
475475 * @throws InvalidArgumentException
476476 */
477477 #[Format(TestFormat::class)]
478- public function actionTestFormat ()
478+ public function actionTestFormat (int $ a , ? string $ b )
479479 {
480480 $ this ->sendSuccessResponse ("OK " );
481481 }
Original file line number Diff line number Diff line change @@ -478,8 +478,8 @@ private static function createUsersRoutes(string $prefix): RouteList
478478 $ router [] = new PostRoute ("$ prefix/list " , "Users:listByIds " );
479479 $ router [] = new GetRoute ("$ prefix/ical/<id> " , "UserCalendars: " );
480480 $ router [] = new DeleteRoute ("$ prefix/ical/<id> " , "UserCalendars:expireCalendar " );
481- $ router [] = new PostRoute ("$ prefix/testLoose " , "Registration:testLoose " );
482- $ router [] = new PostRoute ("$ prefix/testFormat " , "Registration:testFormat " );
481+ $ router [] = new PostRoute ("$ prefix/testLoose/<a> " , "Registration:testLoose " );
482+ $ router [] = new PostRoute ("$ prefix/testFormat/<a> " , "Registration:testFormat " );
483483 $ router [] = new PostRoute ("$ prefix/invite " , "Registration:createInvitation " );
484484 $ router [] = new PostRoute ("$ prefix/accept-invitation " , "Registration:acceptInvitation " );
485485
You can’t perform that action at this time.
0 commit comments