Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing php doc params to ConvertSerializedDataToJson class constructor #21033

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,15 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Quote\Setup\Patch\Data;

use Magento\Framework\App\ResourceConnection;
use Magento\Quote\Setup\ConvertSerializedDataToJsonFactory;
use Magento\Quote\Setup\QuoteSetupFactory;
use Magento\Framework\Setup\Patch\DataPatchInterface;
use Magento\Framework\Setup\Patch\PatchVersionInterface;

/**
* Class ConvertSerializedDataToJson
* @package Magento\Quote\Setup\Patch
* Convert quote serialized data to json.
*/
class ConvertSerializedDataToJson implements DataPatchInterface, PatchVersionInterface
{
Expand All @@ -36,6 +33,8 @@ class ConvertSerializedDataToJson implements DataPatchInterface, PatchVersionInt
/**
* PatchInitial constructor.
* @param \Magento\Framework\Setup\ModuleDataSetupInterface $moduleDataSetup
* @param QuoteSetupFactory $quoteSetupFactory
* @param ConvertSerializedDataToJsonFactory $convertSerializedDataToJsonFactory
*/
public function __construct(
\Magento\Framework\Setup\ModuleDataSetupInterface $moduleDataSetup,
Expand All @@ -48,7 +47,7 @@ public function __construct(
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function apply()
{
Expand All @@ -57,7 +56,7 @@ public function apply()
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public static function getDependencies()
{
Expand All @@ -67,15 +66,15 @@ public static function getDependencies()
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public static function getVersion()
{
return '2.0.6';
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function getAliases()
{
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Ui/Model/UiComponentGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class UiComponentGenerator
* UiComponentGenerator constructor.
* @param ContextFactory $contextFactory
* @param UiComponentFactory $uiComponentFactory
* @param array $data
*/
public function __construct(
ContextFactory $contextFactory,
Expand All @@ -48,6 +47,7 @@ public function __construct(
* @param string $name
* @param \Magento\Framework\View\LayoutInterface $layout
* @return UiComponentInterface
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function generateUiComponent($name, \Magento\Framework\View\LayoutInterface $layout)
{
Expand Down