File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
lib/internal/Magento/Framework/Module/Setup Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -707,8 +707,23 @@ public function getCompositeModules()
707
707
* @return array|bool|float|int|mixed|null|string
708
708
* @throws \InvalidArgumentException
709
709
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
710
+ * @deprecated
711
+ * @see \Magento\Framework\Module\Setup\Migration::jsonDecode
710
712
*/
711
713
protected function _jsonDecode ($ encodedValue , $ objectDecodeType = 1 )
714
+ {
715
+ return $ this ->jsonDecode ($ encodedValue );
716
+ }
717
+
718
+ /**
719
+ * Decodes the given $encodedValue string which is
720
+ * encoded in the JSON format
721
+ *
722
+ * @param string $encodedValue
723
+ * @return array|bool|float|int|mixed|null|string
724
+ * @throws \InvalidArgumentException
725
+ */
726
+ private function jsonDecode ($ encodedValue )
712
727
{
713
728
return $ this ->serializer ->unserialize ($ encodedValue );
714
729
}
You can’t perform that action at this time.
0 commit comments