Skip to content

Update phpunit_bridge.rst #13938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/phpunit_bridge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -425,16 +425,16 @@ call to the ``doSetUp()``, ``doTearDown()``, ``doSetUpBeforeClass()`` and

class MyTest extends TestCase
{
// when using the SetUpTearDownTrait, methods like doSetup() can
// when using the SetUpTearDownTrait, methods like doSetUp() can
// be defined with and without the 'void' return type, as you wish
use SetUpTearDownTrait;

private function doSetup()
private function doSetUp()
{
// ...
}

protected function doSetup(): void
protected function doSetUp(): void
{
// ...
}
Expand Down