Skip to content

Commit e10f815

Browse files
AC-10541 - Web API Fix
1 parent 1bcbcc5 commit e10f815

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/code/Magento/Webapi/Controller/Rest/ParamsOverrider.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
namespace Magento\Webapi\Controller\Rest;
99

1010
use Magento\Framework\App\ObjectManager;
11-
use Magento\Framework\Exception\NoSuchEntityException;
1211
use Magento\Framework\Webapi\Rest\Request\ParamOverriderInterface;
1312
use Magento\Webapi\Model\Config\Converter;
1413
use Magento\Framework\Reflection\MethodsMap;
@@ -55,12 +54,9 @@ public function __construct(
5554
* @param array $inputData Incoming data from request
5655
* @param array $parameters Contains parameters to replace or default
5756
* @return array Data in same format as $inputData with appropriate parameters added or changed
58-
* @throws NoSuchEntityException
5957
*/
6058
public function override(array $inputData, array $parameters)
6159
{
62-
$inputData = $this->validateInputData($inputData);
63-
6460
foreach ($parameters as $name => $paramData) {
6561
$arrayKeys = explode('.', $name);
6662
if ($paramData[Converter::KEY_FORCE] || !$this->isNestedArrayValueSet($inputData, $arrayKeys)) {
@@ -100,7 +96,6 @@ protected function isNestedArrayValueSet($nestedArray, $arrayKeys)
10096

10197
/**
10298
* Set a nested array value.
103-
* phpcs:disable Magento2.Annotation.MethodArguments.VisualAlignment
10499
*
105100
* @param array &$nestedArray
106101
* @param string[] $arrayKeys
@@ -243,7 +238,6 @@ private function isPropertyDeclaredInDataObject(
243238
* @return \Magento\Framework\Reflection\MethodsMap
244239
*
245240
* @deprecated 100.1.0
246-
* @see \Magento\Framework\Reflection\MethodsMap
247241
*/
248242
private function getMethodsMap()
249243
{

0 commit comments

Comments
 (0)