From b1a3e9a3dab956a1555d959a8f7fc5a563536240 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Thu, 19 Oct 2023 05:47:21 +0200 Subject: [PATCH] Files/TestDoubles: minor documentation tweaks --- Yoast/Sniffs/Files/TestDoublesSniff.php | 6 +++--- Yoast/Tests/Files/TestDoublesUnitTest.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Yoast/Sniffs/Files/TestDoublesSniff.php b/Yoast/Sniffs/Files/TestDoublesSniff.php index 628bf53..a557913 100644 --- a/Yoast/Sniffs/Files/TestDoublesSniff.php +++ b/Yoast/Sniffs/Files/TestDoublesSniff.php @@ -34,17 +34,17 @@ final class TestDoublesSniff implements Sniff { * @since 1.1.0 The property type has changed from string to array. * Use of this property with a string value has been deprecated. * - * @var string[] + * @var array */ public $doubles_path = [ '/tests/doubles', ]; /** - * Validated absolute target paths for test double/mock classes or an empty array + * Validated absolute target paths for test fixture directories or an empty array * if the intended target directory/directories don't exist. * - * @var string[] + * @var array */ private $target_paths; diff --git a/Yoast/Tests/Files/TestDoublesUnitTest.php b/Yoast/Tests/Files/TestDoublesUnitTest.php index e7759c7..09baf7d 100644 --- a/Yoast/Tests/Files/TestDoublesUnitTest.php +++ b/Yoast/Tests/Files/TestDoublesUnitTest.php @@ -35,7 +35,7 @@ public function setCliValues( $filename, $config ): void { * * @param string $testFileBase The base path that the unit tests files will have. * - * @return string[] + * @return array */ protected function getTestFiles( $testFileBase ): array { $sep = \DIRECTORY_SEPARATOR;