Skip to content

Commit

Permalink
magento/magento2#/19806: Static test fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
p-bystritsky committed Apr 12, 2019
1 parent 7cd48fc commit b39550a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/code/Magento/Downloadable/Model/SampleRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

/**
* Class SampleRepository
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class SampleRepository implements \Magento\Downloadable\Api\SampleRepositoryInterface
Expand Down Expand Up @@ -100,7 +101,7 @@ public function __construct(
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function getList($sku)
{
Expand Down Expand Up @@ -209,6 +210,8 @@ public function save(
}

/**
* Save sample.
*
* @param \Magento\Catalog\Api\Data\ProductInterface $product
* @param SampleInterface $sample
* @param bool $isGlobalScopeContent
Expand Down Expand Up @@ -257,6 +260,8 @@ protected function saveSample(
}

/**
* Update sample.
*
* @param \Magento\Catalog\Api\Data\ProductInterface $product
* @param SampleInterface $sample
* @param bool $isGlobalScopeContent
Expand Down Expand Up @@ -319,7 +324,7 @@ protected function updateSample(
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function delete($id)
{
Expand Down

0 comments on commit b39550a

Please sign in to comment.