File tree 2 files changed +5
-5
lines changed
Block/Widget/Grid/Column/Filter
Test/Unit/Block/Widget/Grid/Column/Filter 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ protected function _getCurrencyList()
162
162
/**
163
163
* Retrieve filter value
164
164
*
165
- * @param null $index
165
+ * @param string| null $index
166
166
* @return array|null
167
167
*/
168
168
public function getValue ($ index = null )
Original file line number Diff line number Diff line change 21
21
class PriceTest extends TestCase
22
22
{
23
23
/** @var RequestInterface|MockObject */
24
- private $ _requestMock ;
24
+ private $ requestMock ;
25
25
26
26
/** @var Context|MockObject */
27
27
private $ context ;
@@ -43,10 +43,10 @@ class PriceTest extends TestCase
43
43
44
44
protected function setUp (): void
45
45
{
46
- $ this ->_requestMock = $ this ->getMockForAbstractClass (RequestInterface::class);
46
+ $ this ->requestMock = $ this ->getMockForAbstractClass (RequestInterface::class);
47
47
48
48
$ this ->context = $ this ->createMock (Context::class);
49
- $ this ->context ->expects ($ this ->any ())->method ('getRequest ' )->willReturn ($ this ->_requestMock );
49
+ $ this ->context ->expects ($ this ->any ())->method ('getRequest ' )->willReturn ($ this ->requestMock );
50
50
51
51
$ this ->helper = $ this ->createMock (Helper::class);
52
52
@@ -80,7 +80,7 @@ public function testGetCondition()
80
80
)->method (
81
81
'getDefaultCurrency '
82
82
)->with (
83
- $ this ->_requestMock
83
+ $ this ->requestMock
84
84
)->willReturn (
85
85
'defaultCurrency '
86
86
);
You can’t perform that action at this time.
0 commit comments