Skip to content

Commit 1f84319

Browse files
committed
magento2/issues/12087: Fix static test.
1 parent cb0b3d4 commit 1f84319

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/code/Magento/Widget/Model/Widget.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ public function getWidgetByClassType($type)
131131
*/
132132
public function getConfigAsXml($type)
133133
{
134+
// phpstan:ignore
134135
return $this->getXmlElementByType($type);
135136
}
136137

@@ -463,7 +464,7 @@ protected function sortParameters($firstElement, $secondElement)
463464
/**
464465
* Encode reserved chars
465466
*
466-
* @param $string
467+
* @param string $string
467468
* @return string|string[]
468469
*/
469470
private function encodeReservedChars($string)
@@ -483,7 +484,7 @@ private function encodeReservedChars($string)
483484
/**
484485
* Decode reserved chars
485486
*
486-
* @param $string
487+
* @param string $string
487488
* @return array
488489
*/
489490
public function decodeReservedChars($string)
@@ -503,8 +504,8 @@ public function decodeReservedChars($string)
503504
/**
504505
* Is text type Widget parameter
505506
*
506-
* @param $widget
507-
* @param $name
507+
* @param \Magento\Framework\DataObject $widget
508+
* @param string $name
508509
* @return bool
509510
*/
510511
private function isTextType($widget, $name)

0 commit comments

Comments
 (0)