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;