From 74ff3b8cd94e975ffccd26895a2a58361b35117e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20A=C5=9Fan?= Date: Thu, 12 Sep 2024 13:09:57 +0300 Subject: [PATCH] Update src/PendingCalls/TestCall.php Co-authored-by: Owen Voke --- src/PendingCalls/TestCall.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; }