mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-05 04:49:44 +00:00
change public function to protected function
This commit is contained in:
@@ -120,7 +120,7 @@ class PersonApiController extends ApiController
|
|||||||
return $this->json($configAltNames, Response::HTTP_OK, [], ['groups' => ['read']]);
|
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 ($action === '_entity'){
|
||||||
if ($request->getMethod() === Request::METHOD_POST){
|
if ($request->getMethod() === Request::METHOD_POST){
|
||||||
|
Reference in New Issue
Block a user