Skip to content

Commit ff53693

Browse files
ENGCOM-6475: Fixes phpcs errors and warnings for Magento\Framework\View\Element #26037
2 parents 9d9cbbe + 6d51825 commit ff53693

File tree

8 files changed

+16
-4
lines changed

8 files changed

+16
-4
lines changed

lib/internal/Magento/Framework/View/Element/ExceptionHandlerBlockFactory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
namespace Magento\Framework\View\Element;
77

88
/**
9-
* Class ExceptionHandlerBlockFactory
10-
* @package Magento\Framework\View\Element
9+
* Factory for BlockInterface
1110
*/
1211
class ExceptionHandlerBlockFactory
1312
{

lib/internal/Magento/Framework/View/Element/FormKey.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
namespace Magento\Framework\View\Element;
1111

1212
/**
13+
* Element with FormKey
14+
*
1315
* @api
1416
*/
1517
class FormKey extends \Magento\Framework\View\Element\AbstractBlock

lib/internal/Magento/Framework/View/Element/Js/Components.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
use Magento\Framework\View\Element\Template;
1010

1111
/**
12+
* Block for Components
13+
*
1214
* @api
1315
*/
1416
class Components extends Template

lib/internal/Magento/Framework/View/Element/Js/Cookie.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
use Magento\Framework\View\Element\Template\Context;
1111

1212
/**
13+
* Block passes configuration for cookies set by JS
14+
*
1315
* @api
1416
*/
1517
class Cookie extends Template
@@ -75,6 +77,8 @@ public function getPath()
7577
}
7678

7779
/**
80+
* Get configured cookie lifetime
81+
*
7882
* @return int
7983
*/
8084
public function getLifetime()

lib/internal/Magento/Framework/View/Element/RendererList.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
namespace Magento\Framework\View\Element;
77

88
/**
9+
* Get renderer by code
10+
*
911
* @api
1012
*/
1113
class RendererList extends AbstractBlock

lib/internal/Magento/Framework/View/Element/Template.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
/**
1212
* Standard Magento block.
13+
*
1314
* Should be used when you declare a block in frontend area layout handle.
1415
*
1516
* Avoid extending this class.
@@ -166,6 +167,7 @@ public function setTemplateContext($templateContext)
166167

167168
/**
168169
* Internal constructor, that is called from real constructor
170+
*
169171
* @return void
170172
*/
171173
protected function _construct()

lib/internal/Magento/Framework/View/Element/Template/File/Resolver.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
use Magento\Framework\Serialize\Serializer\Json;
1010

1111
/**
12-
* Class Resolver
13-
* @package Magento\Framework\View\Element\Template\File
12+
* Resolver, returns template file name by template.
1413
*/
1514
class Resolver
1615
{

lib/internal/Magento/Framework/View/Element/UiComponentInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ public function render();
5252
public function addComponent($name, UiComponentInterface $component);
5353

5454
/**
55+
* Get component
56+
*
5557
* @param string $name
5658
* @return UiComponentInterface
5759
*/

0 commit comments

Comments
 (0)