diff --git a/build/kint.phar b/build/kint.phar index ff691e0f1..fd8b89e67 100644 Binary files a/build/kint.phar and b/build/kint.phar differ diff --git a/src/CallFinder.php b/src/CallFinder.php index 33e022e96..e36e91eac 100644 --- a/src/CallFinder.php +++ b/src/CallFinder.php @@ -383,7 +383,8 @@ public static function getFunctionCalls(string $source, int $line, $function): a } // Skip first-class callables - if (KINT_PHP81 && 1 === \count($params) && '...' === $param['path']) { + /** @psalm-var list $params */ + if (KINT_PHP81 && 1 === \count($params) && '...' === \reset($params)['path']) { continue; }