Skip to content

Commit

Permalink
ENGCOM-6475: Fixes phpcs errors and warnings for Magento\Framework\Vi…
Browse files Browse the repository at this point in the history
…ew\Element #26037
  • Loading branch information
VladimirZaets authored Dec 17, 2019
2 parents 9d9cbbe + 6d51825 commit ff53693
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
namespace Magento\Framework\View\Element;

/**
* Class ExceptionHandlerBlockFactory
* @package Magento\Framework\View\Element
* Factory for BlockInterface
*/
class ExceptionHandlerBlockFactory
{
Expand Down
2 changes: 2 additions & 0 deletions lib/internal/Magento/Framework/View/Element/FormKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
namespace Magento\Framework\View\Element;

/**
* Element with FormKey
*
* @api
*/
class FormKey extends \Magento\Framework\View\Element\AbstractBlock
Expand Down
2 changes: 2 additions & 0 deletions lib/internal/Magento/Framework/View/Element/Js/Components.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
use Magento\Framework\View\Element\Template;

/**
* Block for Components
*
* @api
*/
class Components extends Template
Expand Down
4 changes: 4 additions & 0 deletions lib/internal/Magento/Framework/View/Element/Js/Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
use Magento\Framework\View\Element\Template\Context;

/**
* Block passes configuration for cookies set by JS
*
* @api
*/
class Cookie extends Template
Expand Down Expand Up @@ -75,6 +77,8 @@ public function getPath()
}

/**
* Get configured cookie lifetime
*
* @return int
*/
public function getLifetime()
Expand Down
2 changes: 2 additions & 0 deletions lib/internal/Magento/Framework/View/Element/RendererList.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
namespace Magento\Framework\View\Element;

/**
* Get renderer by code
*
* @api
*/
class RendererList extends AbstractBlock
Expand Down
2 changes: 2 additions & 0 deletions lib/internal/Magento/Framework/View/Element/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

/**
* Standard Magento block.
*
* Should be used when you declare a block in frontend area layout handle.
*
* Avoid extending this class.
Expand Down Expand Up @@ -166,6 +167,7 @@ public function setTemplateContext($templateContext)

/**
* Internal constructor, that is called from real constructor
*
* @return void
*/
protected function _construct()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
use Magento\Framework\Serialize\Serializer\Json;

/**
* Class Resolver
* @package Magento\Framework\View\Element\Template\File
* Resolver, returns template file name by template.
*/
class Resolver
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public function render();
public function addComponent($name, UiComponentInterface $component);

/**
* Get component
*
* @param string $name
* @return UiComponentInterface
*/
Expand Down

0 comments on commit ff53693

Please sign in to comment.