1717class ConfigProvider implements ConfigProviderInterface
1818{
1919 /**
20- * @inheritDoc
20+ * @return array
2121 */
2222 public function __invoke (): array
2323 {
@@ -38,7 +38,7 @@ public function __invoke(): array
3838 }
3939
4040 /**
41- * @inheritDoc
41+ * @return array
4242 */
4343 public function getDependencyConfig (): array
4444 {
@@ -65,10 +65,10 @@ public function getRequestConfig(): array
6565 DebugAwareInitializer::class,
6666 ],
6767 'services ' => array_merge (
68- $ this ->getIsPayServicesConfig (),
69- $ this ->getPinServicesConfig (),
70- $ this ->getServiceServicesConfig (),
71- $ this ->getTransactionServicesConfig (),
68+ $ this ->getIsPayServicesConfig (),
69+ $ this ->getPinServicesConfig (),
70+ $ this ->getServiceServicesConfig (),
71+ $ this ->getTransactionServicesConfig (),
7272 ),
7373 'factories ' => [
7474 Request::class => Factory::class,
@@ -108,11 +108,7 @@ protected function getPinServicesConfig(): array
108108 'method ' => RequestInterface::METHOD_GET ,
109109 'requiredParams ' => ['terminalCode ' => '' ],
110110 ],
111- 'TerminalsBrowse ' => [
112- 'uri ' => '/terminals ' ,
113- 'method ' => RequestInterface::METHOD_GET ,
114- 'requiredParams ' => [],
115- ],
111+ 'TerminalsBrowse ' => [],
116112 'ConfirmTerminalTransaction ' => [
117113 'uri ' => '/pin/%terminalTransactionId%/confirm ' ,
118114 'method ' => RequestInterface::METHOD_PATCH ,
@@ -206,13 +202,13 @@ protected function getTransactionServicesConfig(): array
206202 'transactionId ' => '' ,
207203 ],
208204 ],
209- 'OrderUpdate ' => [
205+ 'OrderUpdate ' => [
210206 'uri ' => '/ ' ,
211207 'method ' => RequestInterface::METHOD_PATCH ,
212208 'requiredParams ' => [
213209 'transactionId ' => '' ,
214210 ],
215- ],
211+ ],
216212 'OrderCapture ' => [
217213 'uri ' => '' ,
218214 'requiredParams ' => [
@@ -241,7 +237,7 @@ protected function getTransactionServicesConfig(): array
241237 'method ' => RequestInterface::METHOD_GET ,
242238 'requiredParams ' => [
243239 'transactionId ' => '' ,
244- ],
240+ ],
245241 ],
246242 'OrderStatus ' => [
247243 'uri ' => '/transactions/%transactionId%/status ' ,
@@ -280,5 +276,4 @@ protected function getTransactionServicesConfig(): array
280276 ]
281277 ];
282278 }
283-
284279}
0 commit comments