Skip to content

Commit 6c0c2fa

Browse files
author
Graham Wharton
committed
Ignore PHPMD Else Expression warnings
1 parent dcc71bf commit 6c0c2fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Catalog/Block/Product/View/GalleryOptions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public function __construct(
4848
* @return string
4949
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
5050
* @SuppressWarnings(PHPMD.NPathComplexity)
51+
* @SuppressWarnings(PHPMD.ElseExpression)
5152
*/
5253
public function getOptionsJson()
5354
{
@@ -111,6 +112,7 @@ public function getOptionsJson()
111112
* @return string
112113
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
113114
* @SuppressWarnings(PHPMD.NPathComplexity)
115+
* @SuppressWarnings(PHPMD.ElseExpression)
114116
*/
115117
public function getFSOptionsJson()
116118
{

0 commit comments

Comments
 (0)