File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ public function addFields()
136
136
* @return \Magento\Framework\Data\Form\Element\AbstractElement
137
137
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
138
138
* @SuppressWarnings(PHPMD.NPathComplexity)
139
+ * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
139
140
*/
140
141
protected function _addField ($ parameter )
141
142
{
Original file line number Diff line number Diff line change @@ -293,6 +293,7 @@ public function getWidgetsArray($filters = [])
293
293
* @param array $params Pre-configured Widget Params
294
294
* @param bool $asIs Return result as widget directive(true) or as placeholder image(false)
295
295
* @return string Widget directive ready to parse
296
+ * @SuppressWarnings(PHPMD.CyclomaticComplexity)
296
297
*/
297
298
public function getWidgetDeclaration ($ type , $ params = [], $ asIs = true )
298
299
{
@@ -460,6 +461,8 @@ protected function sortParameters($firstElement, $secondElement)
460
461
}
461
462
462
463
/**
464
+ * Encode reserved chars
465
+ *
463
466
* @param $string
464
467
* @return string|string[]
465
468
*/
@@ -478,6 +481,8 @@ private function encodeReservedChars($string)
478
481
}
479
482
480
483
/**
484
+ * Decode reserved chars
485
+ *
481
486
* @param $string
482
487
* @return array
483
488
*/
@@ -496,6 +501,8 @@ public function decodeReservedChars($string)
496
501
}
497
502
498
503
/**
504
+ * Is text type Widget parameter
505
+ *
499
506
* @param $widget
500
507
* @param $name
501
508
* @return bool
You can’t perform that action at this time.
0 commit comments