Skip to content

Commit 86f93c1

Browse files
committed
Set return-type on new test methods
1 parent 82ca4f6 commit 86f93c1

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

lib/internal/Magento/Framework/App/Test/Unit/MaintenanceModeTest.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public function testSetAddresses()
196196
*
197197
* @return void
198198
*/
199-
public function testSetSingleAddressV4Legacy()
199+
public function testSetSingleAddressV4Legacy(): void
200200
{
201201
$mapisExist = [
202202
[MaintenanceMode::FLAG_FILENAME, true],
@@ -223,7 +223,7 @@ public function testSetSingleAddressV4Legacy()
223223
*
224224
* @return void
225225
*/
226-
public function testSetSingleAddressV4()
226+
public function testSetSingleAddressV4(): void
227227
{
228228
$mapisExist = [
229229
[MaintenanceMode::FLAG_FILENAME, true],
@@ -250,7 +250,7 @@ public function testSetSingleAddressV4()
250250
*
251251
* @return void
252252
*/
253-
public function testSetSingleAddressV6Legacy()
253+
public function testSetSingleAddressV6Legacy(): void
254254
{
255255
$mapisExist = [
256256
[MaintenanceMode::FLAG_FILENAME, true],
@@ -277,7 +277,7 @@ public function testSetSingleAddressV6Legacy()
277277
*
278278
* @return void
279279
*/
280-
public function testSetSingleAddressV6()
280+
public function testSetSingleAddressV6(): void
281281
{
282282
$mapisExist = [
283283
[MaintenanceMode::FLAG_FILENAME, true],
@@ -304,7 +304,7 @@ public function testSetSingleAddressV6()
304304
*
305305
* @return void
306306
*/
307-
public function testSetSingleAddressRangeV4()
307+
public function testSetSingleAddressRangeV4(): void
308308
{
309309
$mapisExist = [
310310
[MaintenanceMode::FLAG_FILENAME, true],
@@ -331,7 +331,7 @@ public function testSetSingleAddressRangeV4()
331331
*
332332
* @return void
333333
*/
334-
public function testSetSingleAddressRangeV6()
334+
public function testSetSingleAddressRangeV6(): void
335335
{
336336
$mapisExist = [
337337
[MaintenanceMode::FLAG_FILENAME, true],
@@ -358,7 +358,7 @@ public function testSetSingleAddressRangeV6()
358358
*
359359
* @return void
360360
*/
361-
public function testOnSetMultipleAddressesV4()
361+
public function testOnSetMultipleAddressesV4(): void
362362
{
363363
$mapisExist = [
364364
[MaintenanceMode::FLAG_FILENAME, true],
@@ -388,7 +388,7 @@ public function testOnSetMultipleAddressesV4()
388388
*
389389
* @return void
390390
*/
391-
public function testOnSetMultipleAddressesV6()
391+
public function testOnSetMultipleAddressesV6(): void
392392
{
393393
$mapisExist = [
394394
[MaintenanceMode::FLAG_FILENAME, true],
@@ -418,7 +418,7 @@ public function testOnSetMultipleAddressesV6()
418418
*
419419
* @return void
420420
*/
421-
public function testOnSetMultipleAddressesMixed()
421+
public function testOnSetMultipleAddressesMixed(): void
422422
{
423423
$mapisExist = [
424424
[MaintenanceMode::FLAG_FILENAME, true],
@@ -450,7 +450,7 @@ public function testOnSetMultipleAddressesMixed()
450450
*
451451
* @return void
452452
*/
453-
public function testOnSetMultipleAddressRangesV4()
453+
public function testOnSetMultipleAddressRangesV4(): void
454454
{
455455
$mapisExist = [
456456
[MaintenanceMode::FLAG_FILENAME, true],
@@ -480,7 +480,7 @@ public function testOnSetMultipleAddressRangesV4()
480480
*
481481
* @return void
482482
*/
483-
public function testOnSetMultipleAddressRangesV6()
483+
public function testOnSetMultipleAddressRangesV6(): void
484484
{
485485
$mapisExist = [
486486
[MaintenanceMode::FLAG_FILENAME, true],
@@ -510,7 +510,7 @@ public function testOnSetMultipleAddressRangesV6()
510510
*
511511
* @return void
512512
*/
513-
public function testOnSetMultipleAddressRangesMixed()
513+
public function testOnSetMultipleAddressRangesMixed(): void
514514
{
515515
$mapisExist = [
516516
[MaintenanceMode::FLAG_FILENAME, true],

0 commit comments

Comments
 (0)