Skip to content

Commit a242e3a

Browse files
committed
Fix the error that is wrong link title of a downloadable product when enabling "Use Default Value"
- Fix static code
1 parent d421504 commit a242e3a

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

app/code/Magento/Downloadable/Model/Link/Builder.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
use Magento\Framework\DataObject\Copy;
1414

1515
/**
16-
* Class Builder
16+
* Builder download link model for downloadable product
1717
*
18-
* @package Magento\Downloadable\Model\Link
1918
* @api
2019
* @since 100.1.0
2120
*/

app/code/Magento/Downloadable/Model/Sample/Builder.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515
use Magento\Framework\DataObject\Copy;
1616

1717
/**
18-
* Class Builder
18+
* Builder download sample link model for downloadable product
1919
*
20-
* @package Magento\Downloadable\Model\Sample
2120
* @api
2221
* @since 100.1.0
2322
*/

app/code/Magento/Downloadable/Test/Unit/Model/Link/BuilderTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
use Magento\Downloadable\Helper\Download;
1313

1414
/**
15-
* Class BuilderTest
16-
*
17-
* @package Magento\Downloadable\Test\Unit\Model\Link
15+
* Unit test for downloadable products' builder link class
1816
*/
1917
class BuilderTest extends \PHPUnit\Framework\TestCase
2018
{

app/code/Magento/Downloadable/Test/Unit/Model/Sample/BuilderTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
use Magento\Downloadable\Model\Sample\Builder;
1313

1414
/**
15-
* Class BuilderTest
16-
*
17-
* @package Magento\Downloadable\Test\Unit\Model\Sample
15+
* Unit test for downloadable products' builder sample class
1816
*/
1917
class BuilderTest extends \PHPUnit\Framework\TestCase
2018
{

0 commit comments

Comments
 (0)