Skip to content

Commit 033e46b

Browse files
committed
#18064: Fixing Snake Case To Camel Case
- static test fix
1 parent 237f56a commit 033e46b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

lib/internal/Magento/Framework/Api/SimpleDataObjectConverter.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
use Magento\Framework\Convert\ConvertArray;
99
use Magento\Framework\Reflection\DataObjectProcessor;
1010

11+
/**
12+
* Data object converter.
13+
*/
1114
class SimpleDataObjectConverter
1215
{
1316
/**
@@ -162,8 +165,7 @@ public static function snakeCaseToCamelCase($input)
162165
/**
163166
* Convert a CamelCase string read from method into field key in snake_case
164167
*
165-
* e.g. DefaultShipping => default_shipping
166-
* Postcode => postcode
168+
* For example [DefaultShipping => default_shipping, Postcode => postcode]
167169
*
168170
* @param string $name
169171
* @return string

lib/internal/Magento/Framework/App/Request/DataPersistor.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
use Magento\Framework\Api\SimpleDataObjectConverter;
99
use Magento\Framework\Session\SessionManagerInterface;
1010

11+
/**
12+
* Persist data to session.
13+
*/
1114
class DataPersistor implements DataPersistorInterface
1215
{
1316
/**

0 commit comments

Comments
 (0)