diff --git a/src/PendingCalls/TestCall.php b/src/PendingCalls/TestCall.php index 50ddddc3..46e1acb9 100644 --- a/src/PendingCalls/TestCall.php +++ b/src/PendingCalls/TestCall.php @@ -630,8 +630,7 @@ final class TestCall */ public function references(string|array ...$classes): self { - // For rector - $this->references = $classes; + assert($classes !== []); return $this; }