Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | public function fromRequest(Request $request): array |
||
30 | { |
||
31 | $testApiKey = $request->get(MollieGatewayConfigurationType::API_KEY_TEST); |
||
32 | $liveApiKey = $request->get(MollieGatewayConfigurationType::API_KEY_LIVE); |
||
33 | |||
34 | return [ |
||
35 | $this->apiKeysTestCreator->create(MollieGatewayConfigurationType::API_KEY_TEST, $testApiKey), |
||
36 | $this->apiKeysTestCreator->create(MollieGatewayConfigurationType::API_KEY_LIVE, $liveApiKey), |
||
37 | ]; |
||
40 |