File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
app/code/Magento/Cms/Model Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 15
15
16
16
/**
17
17
* Class BlockRepository
18
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
18
19
*/
19
20
class BlockRepository implements BlockRepositoryInterface
20
21
{
@@ -109,6 +110,8 @@ public function getById($blockId)
109
110
/**
110
111
* Load Block data collection by given search criteria
111
112
*
113
+ * @SuppressWarnings(PHPMD.CyclomaticComplexity)
114
+ * @SuppressWarnings(PHPMD.NPathComplexity)
112
115
* @param SearchCriteriaInterface $criteria
113
116
* @return Resource\Block\Collection
114
117
*/
Original file line number Diff line number Diff line change 15
15
* @method \Magento\Cms\Model\Resource\Page getResource()
16
16
* @method int[] getStores()
17
17
*/
18
- class Page extends \Magento \Framework \Model \AbstractModel
19
- implements PageInterface, IdentityInterface
18
+ class Page extends \Magento \Framework \Model \AbstractModel implements PageInterface, IdentityInterface
20
19
{
21
20
/**
22
21
* No route page id
Original file line number Diff line number Diff line change 15
15
16
16
/**
17
17
* Class PageRepository
18
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
18
19
*/
19
20
class PageRepository implements PageRepositoryInterface
20
21
{
@@ -109,6 +110,8 @@ public function getById($pageId)
109
110
/**
110
111
* Load Page data collection by given search criteria
111
112
*
113
+ * @SuppressWarnings(PHPMD.CyclomaticComplexity)
114
+ * @SuppressWarnings(PHPMD.NPathComplexity)
112
115
* @param SearchCriteriaInterface $criteria
113
116
* @return Resource\Page\Collection
114
117
*/
You can’t perform that action at this time.
0 commit comments