| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 28 | public function indexAction(Request $request): JsonResponse |
||
| 29 | { |
||
| 30 | $idCompanyBusinessUnit = $this->castId( |
||
| 31 | $request->query->getInt(static::PARAM_ID_COMPANY_BUSINESS_UNIT) |
||
| 32 | ); |
||
| 33 | |||
| 34 | $companyUserChoices = $this->getFactory() |
||
| 35 | ->createPunchoutCatalogSetupRequestConnectionTypeFormDataProvider() |
||
| 36 | ->getFormattedCompanyUserChoices($idCompanyBusinessUnit); |
||
| 37 | |||
| 38 | return $this->jsonResponse($companyUserChoices); |
||
| 39 | } |
||
| 41 |