Skip to content

Commit 6491be4

Browse files
committed
Improves test documentation
1 parent 8919ece commit 6491be4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tests/ArchiveTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function setUp(): void
2121
}
2222

2323
/**
24-
* Tear down test environment.
24+
* Tear down the test environment.
2525
*
2626
* @return void
2727
*/

tests/TestCase.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ class TestCase extends PHPUnit
2323
protected string $temporaryDirectory;
2424

2525
/**
26-
* Set up temporary directory.
26+
* Set up a temporary directory.
2727
*
2828
* @return void
2929
*/
30-
protected function setUpTemporaryDirectory()
30+
protected function setUpTemporaryDirectory(): void
3131
{
3232
$this->temporaryDirectory = \sys_get_temp_dir()
3333
. DIRECTORY_SEPARATOR
@@ -44,8 +44,9 @@ protected function setUpTemporaryDirectory()
4444
}
4545

4646
/**
47-
* Remove directory and files in it.
47+
* Remove the directory and files in it.
4848
*
49+
* @param string $directory
4950
* @return void
5051
*/
5152
protected function removeDirectory(string $directory): void

0 commit comments

Comments
 (0)