|
8 | 8 | namespace Magento\Webapi\Controller\Rest;
|
9 | 9 |
|
10 | 10 | use Magento\Framework\App\ObjectManager;
|
11 |
| -use Magento\Framework\Exception\NoSuchEntityException; |
12 | 11 | use Magento\Framework\Webapi\Rest\Request\ParamOverriderInterface;
|
13 | 12 | use Magento\Webapi\Model\Config\Converter;
|
14 | 13 | use Magento\Framework\Reflection\MethodsMap;
|
@@ -55,12 +54,9 @@ public function __construct(
|
55 | 54 | * @param array $inputData Incoming data from request
|
56 | 55 | * @param array $parameters Contains parameters to replace or default
|
57 | 56 | * @return array Data in same format as $inputData with appropriate parameters added or changed
|
58 |
| - * @throws NoSuchEntityException |
59 | 57 | */
|
60 | 58 | public function override(array $inputData, array $parameters)
|
61 | 59 | {
|
62 |
| - $inputData = $this->validateInputData($inputData); |
63 |
| - |
64 | 60 | foreach ($parameters as $name => $paramData) {
|
65 | 61 | $arrayKeys = explode('.', $name);
|
66 | 62 | if ($paramData[Converter::KEY_FORCE] || !$this->isNestedArrayValueSet($inputData, $arrayKeys)) {
|
@@ -100,7 +96,6 @@ protected function isNestedArrayValueSet($nestedArray, $arrayKeys)
|
100 | 96 |
|
101 | 97 | /**
|
102 | 98 | * Set a nested array value.
|
103 |
| - * phpcs:disable Magento2.Annotation.MethodArguments.VisualAlignment |
104 | 99 | *
|
105 | 100 | * @param array &$nestedArray
|
106 | 101 | * @param string[] $arrayKeys
|
@@ -243,7 +238,6 @@ private function isPropertyDeclaredInDataObject(
|
243 | 238 | * @return \Magento\Framework\Reflection\MethodsMap
|
244 | 239 | *
|
245 | 240 | * @deprecated 100.1.0
|
246 |
| - * @see \Magento\Framework\Reflection\MethodsMap |
247 | 241 | */
|
248 | 242 | private function getMethodsMap()
|
249 | 243 | {
|
|
0 commit comments