Skip to content

Commit

Permalink
magento#18064: Fixing Snake Case To Camel Case - static test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ishakhsuvarov authored and lewisvoncken committed Oct 6, 2018
1 parent fa99cd6 commit bc775a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use Magento\Framework\Convert\ConvertArray;
use Magento\Framework\Reflection\DataObjectProcessor;

/**
* Data object converter.
*/
class SimpleDataObjectConverter
{
/**
Expand Down Expand Up @@ -162,8 +165,7 @@ public static function snakeCaseToCamelCase($input)
/**
* Convert a CamelCase string read from method into field key in snake_case
*
* e.g. DefaultShipping => default_shipping
* Postcode => postcode
* For example [DefaultShipping => default_shipping, Postcode => postcode]
*
* @param string $name
* @return string
Expand Down
3 changes: 3 additions & 0 deletions lib/internal/Magento/Framework/App/Request/DataPersistor.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use Magento\Framework\Api\SimpleDataObjectConverter;
use Magento\Framework\Session\SessionManagerInterface;

/**
* Persist data to session.
*/
class DataPersistor implements DataPersistorInterface
{
/**
Expand Down

0 comments on commit bc775a5

Please sign in to comment.