Skip to content

Commit

Permalink
[Catalog] Feature #3333, phpmd warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
vahonc committed Sep 3, 2024
1 parent c660d19 commit b72b696
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ public function aroundGetMeta(CategoryDataProvider $dataProvider, \Closure $proc
* Append filter configuration (sort order and display mode) data.
* Meta is added in the ui_component via XML.
*
* @SuppressWarnings(PHPMD.ElseExpression)
*
* @param CategoryDataProvider $dataProvider Data provider.
* @param \Closure $proceed Original method.
*
Expand Down Expand Up @@ -150,6 +152,8 @@ public function aroundGetData(CategoryDataProvider $dataProvider, \Closure $proc
/**
* Modify default metadata to include 'use_config.sort_direction'.
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*
* @param CategoryDataProvider $dataProvider Data provider.
* @param array $result Original data.
*
Expand Down

0 comments on commit b72b696

Please sign in to comment.