From 4dc490beb7e979d1627d2b06801f795e1e4695e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 13 Dec 2021 14:57:36 +0000 Subject: [PATCH] change public function to protected function --- src/Bundle/ChillPersonBundle/Controller/PersonApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Controller/PersonApiController.php b/src/Bundle/ChillPersonBundle/Controller/PersonApiController.php index b845de1fd..9bd54945e 100644 --- a/src/Bundle/ChillPersonBundle/Controller/PersonApiController.php +++ b/src/Bundle/ChillPersonBundle/Controller/PersonApiController.php @@ -120,7 +120,7 @@ class PersonApiController extends ApiController return $this->json($configAltNames, Response::HTTP_OK, [], ['groups' => ['read']]); } - public function getValidationGroups(string $action, Request $request, string $_format, $entity): ?array + protected function getValidationGroups(string $action, Request $request, string $_format, $entity): ?array { if ($action === '_entity'){ if ($request->getMethod() === Request::METHOD_POST){