Skip to content

Commit 84bd04a

Browse files
#27500 - Added return type void to setUp method.
1 parent 16b58bc commit 84bd04a

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

app/code/Magento/OfflinePayments/Test/Unit/Block/Form/AbstractInstructionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class AbstractInstructionTest extends TestCase
1919
*/
2020
protected $model;
2121

22-
protected function setUp()
22+
protected function setUp(): void
2323
{
2424
$context = $this->createMock(Context::class);
2525
$this->model = $this->getMockForAbstractClass(

app/code/Magento/OfflinePayments/Test/Unit/Block/Info/CheckmoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CheckmoTest extends TestCase
3131
/**
3232
* @inheritdoc
3333
*/
34-
protected function setUp()
34+
protected function setUp(): void
3535
{
3636
$context = $this->getMockBuilder(Context::class)
3737
->disableOriginalConstructor()

app/code/Magento/OfflinePayments/Test/Unit/Model/BanktransferTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class BanktransferTest extends TestCase
2828
*/
2929
private $scopeConfigMock;
3030

31-
protected function setUp()
31+
protected function setUp(): void
3232
{
3333
$objectManagerHelper = new ObjectManager($this);
3434
$eventManager = $this->createMock(ManagerInterface::class);

app/code/Magento/OfflinePayments/Test/Unit/Model/CashondeliveryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CashondeliveryTest extends TestCase
2828
*/
2929
private $scopeConfigMock;
3030

31-
protected function setUp()
31+
protected function setUp(): void
3232
{
3333
$helper = new ObjectManager($this);
3434

app/code/Magento/OfflinePayments/Test/Unit/Model/CheckmoConfigProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CheckmoConfigProviderTest extends TestCase
3131
*/
3232
private $escaperMock;
3333

34-
protected function setUp()
34+
protected function setUp(): void
3535
{
3636
$this->methodMock = $this->createMock(Checkmo::class);
3737

app/code/Magento/OfflinePayments/Test/Unit/Model/CheckmoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class CheckmoTest extends TestCase
2727
*/
2828
private $scopeConfigMock;
2929

30-
protected function setUp()
30+
protected function setUp(): void
3131
{
3232
$objectManagerHelper = new ObjectManager($this);
3333
$eventManager = $this->createMock(ManagerInterface::class);

app/code/Magento/OfflinePayments/Test/Unit/Model/InstructionsConfigProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class InstructionsConfigProviderTest extends TestCase
3838
*/
3939
private $escaperMock;
4040

41-
protected function setUp()
41+
protected function setUp(): void
4242
{
4343
$this->methodOneMock = $this->createPartialMock(
4444
AbstractMethod::class,

app/code/Magento/OfflinePayments/Test/Unit/Model/PurchaseorderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class PurchaseorderTest extends TestCase
3333
*/
3434
private $scopeConfigMock;
3535

36-
protected function setUp()
36+
protected function setUp(): void
3737
{
3838
$objectManagerHelper = new ObjectManager($this);
3939
$eventManager = $this->createMock(EventManagerInterface::class);

app/code/Magento/OfflinePayments/Test/Unit/Observer/BeforeOrderPaymentSaveObserverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class BeforeOrderPaymentSaveObserverTest extends TestCase
5454
/**
5555
* @inheritdoc
5656
*/
57-
protected function setUp()
57+
protected function setUp(): void
5858
{
5959
$objectManagerHelper = new ObjectManager($this);
6060
$this->paymentMock = $this->getMockBuilder(Payment::class)

0 commit comments

Comments
 (0)