| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function __invoke(): JsonResponse |
||
| 21 | { |
||
| 22 | $schemas = [ |
||
| 23 | 'schemas' => ['urn:ietf:params:scim:api:messages:2.0:ListResponse'], |
||
| 24 | 'itemsPerPage' => 1, |
||
| 25 | 'startIndex' => 1, |
||
| 26 | 'totalResults' => 1, |
||
| 27 | 'Resources' => [ |
||
| 28 | $this->getUserCoreSchema(), |
||
| 29 | ], |
||
| 30 | ]; |
||
| 31 | |||
| 32 | return new JsonResponse( |
||
| 33 | $schemas, |
||
| 34 | Response::HTTP_OK, |
||
| 35 | ['Content-Type' => self::SCIM_CONTENT_TYPE] |
||
| 36 | ); |
||
| 39 |