Skip to content

Commit 6e99123

Browse files
Merge branch '9.3' into 9.4
2 parents f1255b3 + 3d0d632 commit 6e99123

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/textui.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,10 @@ the following code:
266266
:name: textui.examples.TestCaseClass.php
267267
268268
<?php
269-
use PHPUnit\Framework\TestCase;
270-
271269
namespace TestNamespace;
272270
271+
use PHPUnit\Framework\TestCase;
272+
273273
class TestCaseClass extends TestCase
274274
{
275275
/**

src/writing-tests-for-phpunit.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -485,14 +485,14 @@ See :numref:`writing-tests-for-phpunit.data-providers.examples.DependencyAndData
485485
return [['provider1'], ['provider2']];
486486
}
487487
488-
public function testProducerFirst(): void
488+
public function testProducerFirst(): string
489489
{
490490
$this->assertTrue(true);
491491
492492
return 'first';
493493
}
494494
495-
public function testProducerSecond(): void
495+
public function testProducerSecond(): string
496496
{
497497
$this->assertTrue(true);
498498
@@ -558,7 +558,7 @@ See :numref:`writing-tests-for-phpunit.data-providers.examples.DependencyAndData
558558
$this->assertSame($expected, $a + $b);
559559
}
560560
561-
public function additionWithNonNegativeNumbersProvider(): void
561+
public function additionWithNonNegativeNumbersProvider(): array
562562
{
563563
return [
564564
[0, 1, 1],

0 commit comments

Comments
 (0)