Skip to content

Commit ad24f5f

Browse files
MAGETWO-36972: Expose CMS api's as web API
1 parent 6475a3d commit ad24f5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Cms/Api/BlockRepositoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getById($blockId);
3535
* Retrieve blocks matching the specified criteria.
3636
*
3737
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
38-
* @return \Magento\Framework\Api\SearchResultsInterface
38+
* @return \Magento\Cms\Api\Data\BlockSearchResultsInterface
3939
* @throws \Magento\Framework\Exception\LocalizedException
4040
*/
4141
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);

app/code/Magento/Cms/Api/PageRepositoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getById($pageId);
3535
* Retrieve pages matching the specified criteria.
3636
*
3737
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
38-
* @return \Magento\Framework\Api\SearchResultsInterface
38+
* @return \Magento\Cms\Api\Data\PageSearchResultsInterface
3939
* @throws \Magento\Framework\Exception\LocalizedException
4040
*/
4141
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria);

0 commit comments

Comments
 (0)