Skip to content

Commit ce08d34

Browse files
committed
#27499: Corrected comments and unit tests
1 parent f4d980a commit ce08d34

39 files changed

+60
-157
lines changed

app/code/Magento/MediaGallery/Model/Asset/Command/DeleteByDirectoryPath.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
/**
1717
* Remove asset(s) that correspond the provided directory path
1818
* @deprecated use \Magento\MediaGalleryApi\Api\DeleteAssetsByPathInterface instead
19+
* @see \Magento\MediaGalleryApi\Api\DeleteAssetsByPathInterfac
1920
*/
2021
class DeleteByDirectoryPath implements DeleteByDirectoryPathInterface
2122
{

app/code/Magento/MediaGallery/Model/Asset/Command/DeleteByPath.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
/**
1717
* Class DeleteByPath
1818
* @deprecated use \Magento\MediaGalleryApi\Api\DeleteAssetsByPathInterface instead
19+
* @see \Magento\MediaGalleryApi\Api\DeleteAssetsByPathInterface
1920
*/
2021
class DeleteByPath implements DeleteByPathInterface
2122
{

app/code/Magento/MediaGallery/Model/Asset/Command/GetById.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
/**
1919
* Get media asset by id
2020
* @deprecated use \Magento\MediaGalleryApi\Api\GetAssetsByIdsInterface instead
21+
* @see \Magento\MediaGalleryApi\Api\GetAssetsByIdsInterface
2122
*/
2223
class GetById implements GetByIdInterface
2324
{

app/code/Magento/MediaGallery/Model/Asset/Command/GetByPath.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717

1818
/**
1919
* Class GetByPath
20-
* @deprecated use \Magento\MediaGalleryApi\Api\GetAssetsByPathInterface instead
20+
* @deprecated use \Magento\MediaGalleryApi\Api\GetAssetsByPathsInterface instead
21+
* @see \Magento\MediaGalleryApi\Api\GetAssetsByPathsInterface
2122
*/
2223
class GetByPath implements GetByPathInterface
2324
{

app/code/Magento/MediaGallery/Model/Asset/Command/Save.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717
/**
1818
* Class Save
19-
* @deprecated use \Magento\MediaGalleryApi\Api\SaveAssetInterface instead
19+
* @deprecated use \Magento\MediaGalleryApi\Api\SaveAssetsInterface instead
20+
* @see \Magento\MediaGalleryApi\Api\SaveAssetsInterface
2021
*/
2122
class Save implements SaveInterface
2223
{

app/code/Magento/MediaGallery/Model/AssetKeywords.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use Magento\MediaGalleryApi\Api\Data\AssetKeywordsExtensionInterface;
1313

1414
/**
15-
* Asset's Keywords
15+
* Asset Id and Keywords combination data object for bulk operations with keyword services
1616
*/
1717
class AssetKeywords extends AbstractExtensibleModel implements AssetKeywordsInterface
1818
{

app/code/Magento/MediaGallery/Model/Directory/Command/CreateByPaths.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
use Psr\Log\LoggerInterface;
1414

1515
/**
16-
* Create folder by provided path
16+
* Create directories by provided paths in the media storage
1717
*/
1818
class CreateByPaths implements CreateDirectoriesByPathsInterface
1919
{

app/code/Magento/MediaGallery/Model/Directory/Command/DeleteByPaths.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
use Psr\Log\LoggerInterface;
1414

1515
/**
16-
* Delete directory from media storage by path
16+
* Delete directory by provided paths in the media storage
1717
*/
1818
class DeleteByPaths implements DeleteDirectoriesByPathsInterface
1919
{

app/code/Magento/MediaGallery/Model/ResourceModel/GetAssetsByPaths.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Psr\Log\LoggerInterface;
1515

1616
/**
17-
* Class GetByPath
17+
* Get media assets by paths
1818
*/
1919
class GetAssetsByPaths implements GetAssetsByPathsInterface
2020
{

app/code/Magento/MediaGallery/Model/ResourceModel/Keyword/GetAssetsKeywords.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Psr\Log\LoggerInterface;
1818

1919
/**
20-
* Retrieve keywords for the media asset
20+
* Retrieve keywords of the media assets
2121
*/
2222
class GetAssetsKeywords implements GetAssetsKeywordsInterface
2323
{

0 commit comments

Comments
 (0)