diff --git a/src/Concerns/Testable.php b/src/Concerns/Testable.php index e94e80b7..37d3b175 100644 --- a/src/Concerns/Testable.php +++ b/src/Concerns/Testable.php @@ -62,7 +62,7 @@ trait Testable /** * The test's describing, if any. * - * @var string[] + * @var array */ public array $__describing = []; diff --git a/src/Factories/TestCaseMethodFactory.php b/src/Factories/TestCaseMethodFactory.php index 425d4950..fb763c75 100644 --- a/src/Factories/TestCaseMethodFactory.php +++ b/src/Factories/TestCaseMethodFactory.php @@ -32,7 +32,7 @@ final class TestCaseMethodFactory /** * The test's describing, if any. * - * @var string[] + * @var array */ public array $describing = []; diff --git a/src/PendingCalls/Concerns/Describable.php b/src/PendingCalls/Concerns/Describable.php index b114d15d..06a7eab7 100644 --- a/src/PendingCalls/Concerns/Describable.php +++ b/src/PendingCalls/Concerns/Describable.php @@ -12,14 +12,14 @@ trait Describable /** * Note: this is property is not used; however, it gets added automatically by rector php. * - * @var string[] + * @var array */ public array $__describing; /** * The describing of the test case. * - * @var string[] + * @var array */ public array $describing = []; } diff --git a/src/PendingCalls/DescribeCall.php b/src/PendingCalls/DescribeCall.php index decd6451..b015595c 100644 --- a/src/PendingCalls/DescribeCall.php +++ b/src/PendingCalls/DescribeCall.php @@ -16,7 +16,7 @@ final class DescribeCall /** * The current describe call. * - * @var string[] + * @var array */ private static array $describing = []; @@ -40,7 +40,7 @@ final class DescribeCall /** * What is the current describing. * - * @return string[] + * @return array */ public static function describing(): array { diff --git a/src/Support/Str.php b/src/Support/Str.php index 570d58ea..0e654bc8 100644 --- a/src/Support/Str.php +++ b/src/Support/Str.php @@ -104,7 +104,7 @@ final class Str /** * Creates a describe block as `$describeDescription` → `$testDescription` format. * - * @param string[] $describeDescriptions + * @param array $describeDescriptions */ public static function describe(array $describeDescriptions, string $testDescription): string {