File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323
2424# ##> lexik/jwt-authentication-bundle ###
2525/config /jwt /* .pem
26+ /config /apple /* .p8
2627# ##< lexik/jwt-authentication-bundle ###
2728
2829# ##> squizlabs/php_codesniffer ###
Original file line number Diff line number Diff line change 2424use Symfony \Component \HttpFoundation \Request ;
2525use Symfony \Component \HttpFoundation \Response ;
2626use Symfony \Component \HttpKernel \Attribute \MapRequestPayload ;
27- use Symfony \Component \HttpKernel \Exception \NotFoundHttpException ;
2827use Symfony \Component \Routing \Attribute \Route ;
2928use Symfony \Component \Serializer \Normalizer \AbstractNormalizer ;
3029use Symfony \Component \Serializer \Normalizer \AbstractObjectNormalizer ;
@@ -83,7 +82,7 @@ public function me(): JsonResponse
8382 $ user = $ this ->getUser ();
8483
8584 if ($ user === null ) {
86- throw new NotFoundHttpException ('KILLER_USER_NOT_FOUND ' );
85+ throw $ this -> createNotFoundException ('KILLER_USER_NOT_FOUND ' );
8786 }
8887
8988 // Serialize user with all info and players list
@@ -137,7 +136,7 @@ public function patchUser(Request $request): JsonResponse
137136 $ user = $ this ->getUser ();
138137
139138 if ($ user === null ) {
140- throw new NotFoundHttpException ('KILLER_USER_NOT_FOUND ' );
139+ throw $ this -> createNotFoundException ('KILLER_USER_NOT_FOUND ' );
141140 }
142141
143142 $ data = $ request ->toArray ();
You can’t perform that action at this time.
0 commit comments