File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ public function __construct(
63
63
* @param string $outermostClass
64
64
* @param string $childrenWrapClass
65
65
* @param int $limit
66
+ * @return void
66
67
* @SuppressWarnings("PMD.UnusedFormalParameter")
67
68
*/
68
69
public function beforeGetHtml (
@@ -100,6 +101,7 @@ public function beforeGetHtml(
100
101
* Add list of associated identities to the top menu block for caching purposes.
101
102
*
102
103
* @param \Magento\Theme\Block\Html\Topmenu $subject
104
+ * @return void
103
105
*/
104
106
public function beforeGetIdentities (\Magento \Theme \Block \Html \Topmenu $ subject )
105
107
{
Original file line number Diff line number Diff line change 13
13
class TopmenuTest extends \PHPUnit_Framework_TestCase
14
14
{
15
15
/**
16
- * @var \Magento\Catalog\Plugin\Block\TopMenu
16
+ * @var \Magento\Catalog\Plugin\Block\Topmenu
17
17
*/
18
18
protected $ block ;
19
19
@@ -101,7 +101,7 @@ protected function setUp()
101
101
->willReturn (new \ArrayIterator ([]));
102
102
103
103
$ this ->block = (new ObjectManager ($ this ))->getObject (
104
- ' Magento\Catalog\Plugin\Block\TopMenu ' ,
104
+ \ Magento \Catalog \Plugin \Block \Topmenu::class ,
105
105
[
106
106
'catalogCategory ' => $ this ->_catalogCategory ,
107
107
'menuCategoryData ' => $ this ->menuCategoryData ,
You can’t perform that action at this time.
0 commit comments