mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +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']]);
|
||||
}
|
||||
|
||||
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){
|
||||
|
Reference in New Issue
Block a user