diff --git a/src/PendingCalls/TestCall.php b/src/PendingCalls/TestCall.php index 6f1732b7..aa32827e 100644 --- a/src/PendingCalls/TestCall.php +++ b/src/PendingCalls/TestCall.php @@ -51,9 +51,9 @@ final class TestCall /** * This property is not actually used in the codebase, it's only here to make Rector happy. * - * @var string|array + * @var array */ - public array|string $references; + public array $references; /** * Creates a new Pending Call. @@ -632,7 +632,7 @@ final class TestCall public function reference(string|array ...$classes): self { // For rector - $this->references = $classes; // @phpstan-ignore-line + $this->references = $classes; return $this; }