File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ public function __construct(
37
37
38
38
/**
39
39
* Render menu item anchor
40
+ *
40
41
* @param Item $activeItem
41
42
* @param Item $menuItem
42
43
* @param int $level
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ class Item
152
152
*
153
153
* @var string|null
154
154
*/
155
- protected $ target ;
155
+ private $ target ;
156
156
157
157
/**
158
158
* @param Item\Validator $validator
@@ -211,7 +211,7 @@ public function getId()
211
211
/**
212
212
* Retrieve item target
213
213
*
214
- * @return string
214
+ * @return string|null
215
215
*/
216
216
public function getTarget ()
217
217
{
Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ class MenuTest extends \PHPUnit_Framework_TestCase
38
38
/**
39
39
* @var UrlInterface|\PHPUnit_Framework_MockObject_MockObject
40
40
*/
41
- protected $ urlMock ;
41
+ private $ urlMock ;
42
42
43
43
/**
44
44
* @var IteratorFactory|\PHPUnit_Framework_MockObject_MockObject
45
45
*/
46
- protected $ iteratorFactoryMock ;
46
+ private $ iteratorFactoryMock ;
47
47
48
48
/**
49
49
* @var Session|\PHPUnit_Framework_MockObject_MockObject
@@ -71,7 +71,7 @@ class MenuTest extends \PHPUnit_Framework_TestCase
71
71
private $ menuItemCheckerMock ;
72
72
73
73
/**
74
- * @var AnchorRendererMock |\PHPUnit_Framework_MockObject_MockObject
74
+ * @var AnchorRenderer |\PHPUnit_Framework_MockObject_MockObject
75
75
*/
76
76
private $ anchorRendererMock ;
77
77
Original file line number Diff line number Diff line change 32
32
HTML ;
33
33
exit (1 );
34
34
}
35
- error_reporting (E_ALL );
36
- ini_set ('display_errors ' , 1 );
37
35
38
36
$ bootstrap = \Magento \Framework \App \Bootstrap::create (BP , $ _SERVER );
39
37
/** @var \Magento\Framework\App\Http $app */
You can’t perform that action at this time.
0 commit comments