Skip to content
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 @@ -263,6 +263,11 @@ public function updateLowStockDate(int $websiteId)
$connection->update($this->getMainTable(), $value, $where);
}

/**
* @param string $tableAlias
*
* @return \Zend_Db_Expr
*/
public function getManageStockExpr(string $tableAlias = ''): \Zend_Db_Expr
{
if ($tableAlias) {
Expand All @@ -277,6 +282,11 @@ public function getManageStockExpr(string $tableAlias = ''): \Zend_Db_Expr
return $manageStock;
}

/**
* @param string $tableAlias
*
* @return \Zend_Db_Expr
*/
public function getBackordersExpr(string $tableAlias = ''): \Zend_Db_Expr
{
if ($tableAlias) {
Expand All @@ -291,6 +301,11 @@ public function getBackordersExpr(string $tableAlias = ''): \Zend_Db_Expr
return $itemBackorders;
}

/**
* @param string $tableAlias
*
* @return \Zend_Db_Expr
*/
public function getMinSaleQtyExpr(string $tableAlias = ''): \Zend_Db_Expr
{
if ($tableAlias) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ class MySQLSearchDeprecationNotification implements \Magento\Framework\Setup\Pat
*/
private $notifier;

/**
* @param \Magento\Framework\Search\EngineResolverInterface $searchEngineResolver
* @param \Magento\Framework\Notification\NotifierInterface $notifier
*/
public function __construct(
\Magento\Framework\Search\EngineResolverInterface $searchEngineResolver,
\Magento\Framework\Notification\NotifierInterface $notifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,19 @@ class CustomerGroupDimensionProvider implements DimensionProviderInterface
*/
private $dimensionFactory;

/**
* @param CustomerGroupCollectionFactory $collectionFactory
* @param DimensionFactory $dimensionFactory
*/
public function __construct(CustomerGroupCollectionFactory $collectionFactory, DimensionFactory $dimensionFactory)
{
$this->dimensionFactory = $dimensionFactory;
$this->collectionFactory = $collectionFactory;
}

/**
* @inheritdoc
*/
public function getIterator(): \Traversable
{
foreach ($this->getCustomerGroups() as $customerGroup) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@
class ActionDeleteTest extends AbstractElementTest
{
/**
* {@inheritdoc}
* @inheritdoc
*/
protected function getModelName()
{
return ActionDelete::class;
}

/**
* @inheritdoc
*/
public function testGetComponentName()
{
$this->assertSame(ActionDelete::NAME, $this->getModel()->getComponentName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@
class CheckboxSetTest extends AbstractElementTest
{
/**
* {@inheritdoc}
* @inheritdoc
*/
protected function getModelName()
{
return CheckboxSet::class;
}

/**
* @inheritdoc
*/
public function testGetComponentName()
{
$this->assertSame(CheckboxSet::NAME, $this->getModel()->getComponentName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@
class MultiSelectTest extends AbstractElementTest
{
/**
* {@inheritdoc}
* @inheritdoc
*/
protected function getModelName()
{
return MultiSelect::class;
}

/**
* @inheritdoc
*/
public function testGetComponentName()
{
$this->contextMock->expects($this->never())->method('getProcessor');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@
class RadioSetTest extends AbstractElementTest
{
/**
* {@inheritdoc}
* @inheritdoc
*/
protected function getModelName()
{
return RadioSet::class;
}

/**
* @inheritdoc
*/
public function testGetComponentName()
{
$this->assertSame(RadioSet::NAME, $this->getModel()->getComponentName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@
class SelectTest extends AbstractElementTest
{
/**
* {@inheritdoc}
* @inheritdoc
*/
protected function getModelName()
{
return Select::class;
}

/**
* @inheritdoc
*/
public function testGetComponentName()
{
$this->assertSame(Select::NAME, $this->getModel()->getComponentName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,16 @@ protected function getModel()
}

/**
* {@inheritdoc}
* @inheritdoc
*/
protected function getModelName()
{
return Wysiwyg::class;
}

/**
* @inheritdoc
*/
public function testGetComponentName()
{
$this->assertSame(Wysiwyg::NAME, $this->getModel()->getComponentName());
Expand Down