Skip to content

Commit 9d1e2e0

Browse files
authored
Update database.rst
Hello, I just add return type hint like the parent class : https://github.com/sebastianbergmann/phpunit/blob/master/src/Framework/TestCase.php Cheers 😉
1 parent 8ab22b1 commit 9d1e2e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/database.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ so, get the entity manager via the service container as follows::
221221
*/
222222
private $entityManager;
223223

224-
protected function setUp()
224+
protected function setUp(): void
225225
{
226226
$kernel = self::bootKernel();
227227

@@ -240,7 +240,7 @@ so, get the entity manager via the service container as follows::
240240
$this->assertSame(14.50, $product->getPrice());
241241
}
242242

243-
protected function tearDown()
243+
protected function tearDown(): void
244244
{
245245
parent::tearDown();
246246

0 commit comments

Comments
 (0)