diff --git a/tests/Unit/DiscoveredFilesTest.php b/tests/Unit/DiscoveredFilesTest.php index bec17bf4..feb00289 100644 --- a/tests/Unit/DiscoveredFilesTest.php +++ b/tests/Unit/DiscoveredFilesTest.php @@ -19,11 +19,12 @@ class DiscoveredFilesTest extends TestCase /** * Tests that a file can be added and gotten. * - * @return void + * @covers ::add + * @covers ::getFiles * * @author NikolayStrikhar */ - public function testFileCanBeAddedAndGotten() + public function testFileCanBeAddedAndGotten(): void { // Arrange. @@ -47,11 +48,12 @@ public function testFileCanBeAddedAndGotten() /** * Tests that multiple files with different paths can be added and gotten. * - * @return void + * @covers ::add + * @covers ::getFiles * * @author NikolayStrikhar */ - public function testFileMultipleFilesWithDifferentPathsCanBeAddedAndGotten() + public function testFileMultipleFilesWithDifferentPathsCanBeAddedAndGotten(): void { // Arrange. @@ -82,11 +84,12 @@ public function testFileMultipleFilesWithDifferentPathsCanBeAddedAndGotten() /** * Tests that files are overwritten when they have the same path. * - * @return void + * @covers ::add + * @covers ::getFiles * * @author NikolayStrikhar */ - public function testFilesWithSamePathsAreOverwritten() + public function testFilesWithSamePathsAreOverwritten(): void { // Arrange.