From 334be477b233419b8f4774a53d198a6be9ac4869 Mon Sep 17 00:00:00 2001 From: Jonathan Vollebregt Date: Fri, 26 Apr 2024 15:33:47 +0200 Subject: [PATCH] CallFinderTest: Better coverage in "non-function tokens" test --- tests/CallFinderTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/CallFinderTest.php b/tests/CallFinderTest.php index 11d975ffb..5da4b5166 100644 --- a/tests/CallFinderTest.php +++ b/tests/CallFinderTest.php @@ -672,7 +672,7 @@ public function sourceProvider() $data['non-function tokens'] = [ 'test($b); test3::test; test($c);', 'line' => 3, 'function' => 'test', 'result' => [ @@ -680,8 +680,8 @@ public function sourceProvider() 'modifiers' => [], 'parameters' => [ [ - 'path' => '$val', - 'name' => '$val', + 'path' => '$c', + 'name' => '$c', 'expression' => false, ], ],