mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
change public function to protected function
This commit is contained in:
parent
8affeb08d9
commit
4dc490beb7
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user