Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 04a53a8

Browse files
committed
FIX for static tests failure
_createFromArray will not be fixed due to its eventual deprecation, since a new immutable approach is provided
1 parent fd6aa64 commit 04a53a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/internal/Magento/Framework/Webapi/ServiceInputProcessor.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copyright © Magento, Inc. All rights reserved.
66
* See COPYING.txt for license details.
77
*/
8+
declare(strict_types=1);
9+
810
namespace Magento\Framework\Webapi;
911

1012
use Magento\Framework\Webapi\ServiceTypeToEntityTypeMap;
@@ -197,6 +199,7 @@ private function getConstructorData(string $className, array $data): array
197199
* @param array $data
198200
* @return object the newly created and populated object
199201
* @throws \Exception
202+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
200203
*/
201204
protected function _createFromArray($className, $data)
202205
{

0 commit comments

Comments
 (0)