Skip to content

Commit 906112e

Browse files
committed
minor #12824 Update database.rst (abdounikarim)
This PR was merged into the 5.0 branch. Discussion ---------- 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 😉 Commits ------- 9d1e2e0 Update database.rst
2 parents 1c5c1a4 + 9d1e2e0 commit 906112e

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)