Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes phpcs errors and warnings for Magento\Framework\View\Element #26037

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

/**
* Class ExceptionHandlerBlockFactory
*
* @package Magento\Framework\View\Element
*/
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;

/**
* Renderer List
*
* @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 @@ -10,6 +10,7 @@

/**
* Class Resolver
*
* @package Magento\Framework\View\Element\Template\File
*/
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