mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 06:44:59 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -28,10 +28,8 @@ class UserApiController extends ApiController
|
||||
* "_format": "json"
|
||||
* }
|
||||
* )
|
||||
*
|
||||
* @param mixed $_format
|
||||
*/
|
||||
public function currentLocation($_format): JsonResponse
|
||||
public function currentLocation(mixed $_format): JsonResponse
|
||||
{
|
||||
return $this->json(
|
||||
$this->getUser()->getCurrentLocation(),
|
||||
@@ -49,10 +47,8 @@ class UserApiController extends ApiController
|
||||
* "_format": "json"
|
||||
* }
|
||||
* )
|
||||
*
|
||||
* @param mixed $_format
|
||||
*/
|
||||
public function whoami($_format): JsonResponse
|
||||
public function whoami(mixed $_format): JsonResponse
|
||||
{
|
||||
return $this->json(
|
||||
$this->getUser(),
|
||||
|
Reference in New Issue
Block a user