Skip to content

Commit

Permalink
Removed additional references to old asset repository depecendy
Browse files Browse the repository at this point in the history
  • Loading branch information
paales committed Jun 16, 2016
1 parent 1f108f8 commit 645e488
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Block/Hints/Init.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

use Ho\Templatehints\Helper\Config;
use Magento\Framework\View\Asset\GroupedCollection as AssetCollection;
use Magento\Framework\View\Asset\Repository as AssetRepository;
use Magento\Framework\View\Element\AbstractBlock;
use Magento\Framework\View\Element\Context;

Expand All @@ -21,7 +20,7 @@ class Init extends AbstractBlock
{
/**
* A repository service for view assets
* @var AssetRepository
* @var \Magento\Framework\View\Asset\Repository
*/
protected $assetRepository;

Expand All @@ -33,6 +32,8 @@ class Init extends AbstractBlock


/**
* Constructor
*
* @param Context $context
* @param AssetCollection $assetCollection
* @param Config $config
Expand All @@ -59,6 +60,8 @@ public function __construct(
*
* @todo figure out how to include .less files instead of .css files for easier syntax.
* http://devdocs.magento.com/guides/v2.0/architecture/view/page-assets.html#m2devgde-page-assets-api
*
* @return void
*/
public function addAssets()
{
Expand Down
4 changes: 4 additions & 0 deletions Plugin/View/LayoutPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class LayoutPlugin
{

/**
* Layout model
*
* @var Layout
*/
protected $layout;
Expand All @@ -33,6 +35,8 @@ class LayoutPlugin
protected $structure;

/**
* Magento directory listing
*
* @var DirectoryList
*/
private $directoryList;
Expand Down

0 comments on commit 645e488

Please sign in to comment.