File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/Glpi/Api/HL/Controller
tests/functional/Glpi/Api/HL/Controller Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ public static function getRawKnownSchemas(): array
143143 }
144144 return ['WHERE ' => ['_.id ' => $ disclosed_ids ]];
145145 }
146- ]
146+ ],
147147 ],
148148 ];
149149 }
@@ -299,7 +299,7 @@ public function searchConfigValues(Request $request): Response
299299 }
300300
301301 #[Route(path: '/Config/{context} ' , methods: ['GET ' ], requirements: [
302- 'context ' => '\w+ '
302+ 'context ' => '\w+ ' ,
303303 ], middlewares: [ResultFormatterMiddleware::class])]
304304 #[RouteVersion(introduced: '2.1 ' )]
305305 #[Doc \SearchRoute(schema_name: 'Config ' )]
Original file line number Diff line number Diff line change @@ -218,14 +218,14 @@ public function testCRUDConfigValues()
218218 $ this ->api ->call ($ request , function ($ call ) {
219219 /** @var \HLAPICallAsserter $call */
220220 $ call ->response
221- ->status (static fn ($ status ) => $ status === 204 );
221+ ->status (static fn ($ status ) => $ status === 204 );
222222 });
223223
224224 // Can delete a config value
225225 $ this ->api ->call (new Request ('DELETE ' , '/Setup/Config/core/priority_1 ' ), function ($ call ) {
226226 /** @var \HLAPICallAsserter $call */
227227 $ call ->response
228- ->status (static fn ($ status ) => $ status === 204 );
228+ ->status (static fn ($ status ) => $ status === 204 );
229229 });
230230 $ this ->api ->call (new Request ('GET ' , '/Setup/Config/core/priority_1 ' ), function ($ call ) {
231231 /** @var \HLAPICallAsserter $call */
@@ -236,7 +236,7 @@ public function testCRUDConfigValues()
236236 $ this ->api ->call (new Request ('DELETE ' , '/Setup/Config/core/smtp_passwd ' ), function ($ call ) {
237237 /** @var \HLAPICallAsserter $call */
238238 $ call ->response
239- ->status (static fn ($ status ) => $ status === 204 );
239+ ->status (static fn ($ status ) => $ status === 204 );
240240 });
241241
242242 // Can get a config value using GraphQL
You can’t perform that action at this time.
0 commit comments