File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
app/code/Magento/Webapi/Controller/Rest Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2018 Adobe
4+ * All Rights Reserved .
55 */
66declare (strict_types=1 );
77
2020 */
2121class SynchronousRequestProcessor implements RequestProcessorInterface
2222{
23- const PROCESSOR_PATH = "/^ \\/V \\d+/ " ;
23+ private const PROCESSOR_PATH = "/^ \\/V \\d+/ " ;
2424
2525 /**
2626 * @var RestResponse
@@ -79,7 +79,7 @@ public function __construct(
7979 }
8080
8181 /**
82- * { @inheritdoc}
82+ * @inheritdoc
8383 */
8484 public function process (\Magento \Framework \Webapi \Rest \Request $ request )
8585 {
@@ -94,7 +94,9 @@ public function process(\Magento\Framework\Webapi\Rest\Request $request)
9494 * @var \Magento\Framework\Api\AbstractExtensibleObject $outputData
9595 */
9696 try {
97+ // phpcs:disable Magento2.Functions.DiscouragedFunction
9798 $ outputData = call_user_func_array ([$ service , $ serviceMethodName ], $ inputParams );
99+ // phpcs:enable Magento2.Functions.DiscouragedFunction
98100 } catch (\Throwable $ e ) {
99101 throw new WebapiException (__ ($ e ->getMessage ()));
100102 }
@@ -114,7 +116,7 @@ public function process(\Magento\Framework\Webapi\Rest\Request $request)
114116 }
115117
116118 /**
117- * { @inheritdoc}
119+ * @inheritdoc
118120 */
119121 public function canProcess (\Magento \Framework \Webapi \Rest \Request $ request )
120122 {
You can’t perform that action at this time.
0 commit comments