Skip to content

Commit 73fedb8

Browse files
committed
SwiftOtter-SOP-348 Code Review adjustments
1 parent ecc0e85 commit 73fedb8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/code/Magento/Quote/Model/Quote/Item/AbstractItem.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66

77
namespace Magento\Quote\Model\Quote\Item;
88

9+
use Magento\Catalog\Model\Product\Configuration\Item\ItemInterface;
910
use Magento\Catalog\Model\Product\Configuration\Item\Option\OptionInterface;
1011
use Magento\Framework\Api\AttributeValueFactory;
12+
use Magento\Framework\Model\AbstractExtensibleModel;
1113
use Magento\Quote\Model\Quote\Item;
1214

1315
/**
@@ -50,8 +52,7 @@
5052
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
5153
* @since 100.0.2
5254
*/
53-
abstract class AbstractItem extends \Magento\Framework\Model\AbstractExtensibleModel
54-
implements \Magento\Catalog\Model\Product\Configuration\Item\ItemInterface
55+
abstract class AbstractItem extends AbstractExtensibleModel implements ItemInterface
5556
{
5657
/**
5758
* @var Item|null
@@ -271,7 +272,7 @@ public function addMessage($message)
271272
* Get messages array of quote item
272273
*
273274
* @param bool $string flag for converting messages to string
274-
* @return array|string
275+
* @return string[]|string
275276
*/
276277
public function getMessage($string = true)
277278
{

0 commit comments

Comments
 (0)